public ActionResult Create(DesignerView designer) { try { if (ModelState.IsValid) { JobCardManager manager = new JobCardManager(); manager.CreateDesigner(designer); return(RedirectToAction("Index")); } return(View()); } catch { return(View()); } }
public ActionResult Create(DesignerView designer) { try { if (ModelState.IsValid) { JobCardManager manager = new JobCardManager(); manager.CreateDesigner(designer); return(RedirectToAction("Index")); } return(View()); } catch { return(View()); } }