Hi
I have created a Model class name is as Movie.cs in WebApi and its Properties are below
[Key]
public int Movie_Id { set; get; }
public string Movie_Name { set; get; }
public DateTime Reales_Date { set; get; }
public string Actress_Name { set; get; }
public string Actor_Name { set; get; }
public string Director_Name { set; get; }
and in controller created a list i.e List list_movies=new List();
and add some values in list.
now i want to perform GET,GET with Id,PUT,POST,DELETE operation on this list by using IEnumerable datatype..
so please help me how to write code of that Operation...
thanks for your help
Regards
Sameer
4 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sameer shaikhPosted Jun 29, 2016, 12:36 AM
Vincent Maverick DuranoPosted Jun 28, 2016, 12:53 PM
Vinay SinghPosted Jun 28, 2016, 2:26 AM
Ravi PatelPosted Jun 28, 2016, 12:57 AM