예제 #1
0
        public ActionResult HomeResources(HomeResources aData)
        {
            int    rowAffected = aFamilyManager.SaveHomeResources(aData);
            string messages    = "Successfully Saved " + rowAffected;

            return(RedirectToAction("HomeResources", "HomeResources", new { id = aData.BasicInformationOfAffectedPersonNid, message = messages }));
        }
예제 #2
0
 public ActionResult Dependency(List <HomeResources> data)
 {
     foreach (var aData in data)
     {
         aFamilyManager.SaveHomeResources(aData);
     }
     return(View());
 }