Exemplo n.º 1
0
 public ActionResult ApplyType(int id, OrganizationModel m)
 {
     foreach (var o in m.FetchOrgs())
     {
         o.OrganizationTypeId = id == -1 ? (int?)null : id;
     }
     DbUtil.Db.SubmitChanges();
     return(View("Results", m));
 }