Click here to Skip to main content
16,012,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hii

i m new to mvc,i have created a api controller with api read/write and write thje code inside the api methods for read and write transaction with database using entity frame work.after that what to do i m unable to do.i want to know how to use those api methods in my controller and view.pls help me
Thanks Amrit
Posted

1 solution

You don't use those methods in your controller. Your controller PROVIDES those methods! You have to write the code that determines what those methods are going to do.

Seriously, pick up a book on MVC and Web API.
 
Share this answer
 
Comments
amritbdk 25-Jan-14 13:39pm    
Thanks,But as i m new to mvc i want to know how and where i have to write rhe codes for it.
amritbdk 25-Jan-14 13:45pm    
can u reffer me the book which will be best for me
Dave Kreskowiak 25-Jan-14 17:26pm    
Only you can answer what the "best" book would be for you. I have no idea what your skill level is. What I can understand and what you can understand will be vastly different.

Go to Amazon.com and search for "MVC Web API" in Books.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900