public ActionResult Manage()
{
return View("Index", GetStoreReports());
}
public LogisticsInfoViewModel GetStoreReports()
{
var generalReportAccess = new LogisticsInfoViewModel();
var storeProfileList = _storeProfileRepository.GetGeneralInfoReport();
XDocument xDoc=new XDocument();
var logisticsModel = from x in xDoc.Descendants("logistics")
select new LogisticsInfoViewModel
{
FreightRate = (string)x.Element("freightrate"),
OffShoreDelivery = (string)x.Element("offshoredelivery")
};
var p = logisticsModel;
return logiticsModel;
}
Return logisticsModel throws error
Join Hands Change lives
Thanks & Regards
Straight Edge Society