How to bind REST API and business logic ? - C#