I am making a pretty complex "calculator" as a web API. So that I can POST the input to the ASP.NET Web API, and then it returns the appropriate answers/reports.
I am just wondering how the architecture of this should be. I now have an api controller which takes the input, and binds it to a Input model, which stores all the input.
Where should the calculations be done? In the same model? Or should I make a Calculation model which contains all the business logic, and then I call the appropriate methods and such from the api controller?