Hi, I am working on a MVC website. After building BLL/DAL, from controller's Edit(HttpPost) the SaveObject(...) does not work(.i.e. not invoking the BLL layer). What is the possible cause?
[HttpPost]
public ActionResult DealEdit(string userId, Deal deal)
{
LoadProperty(deal, Deal.UserIdProperty, userId);
if (SaveObject(deal, true))
return RedirectToAction("Index");
else
return View();
}
Copyright (c) Marimer LLC