public class Payment { public Payment() { //Get the Value from the Static Method and set into the property. ProductItems = StaticClass.StaticMethod(); } public list<items> ProductItems {get;set;} } //Here is the place where i am not able to get the value of Property : In Controller [HttpPost] public ActionResult Index (Payment paymentobj) { //Here i am getting payment.ProductItems Value is null ??? }
paymentobj
[HttpPost]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)