Exemple #1
0
 public ActionResult Create(Branch request)
 {
     _branchService.Create(request);
     _branchService.AssignDealers(request.Id, request.DealerIds);
     return(RedirectToAction(Request.Form["View"], EntityType.Branch.ToString()));
 }