Reputation: 39
I have 2 TableController for 2 my tables. Also I need another controller, which process data from tables.
Azure's documentation says I should declare ApiController following way:
[MobileAppController]
public class CustomController : ApiController
{
//...
}
But I don't realize how to get any data from tables to process it. I tried to create new instance of Table's Controller, but it doesn't work such way. Any solutions?
Upvotes: 0
Views: 385
Reputation: 8035
To manage the tables within your custom API, just use regular entity framework code. You can find a tutorial here: http://www.entityframeworktutorial.net/entityframework6/introduction.aspx
Upvotes: 1