public virtual ActionResult Create(T model) { var returnMessageModel = CurrentService.Add(model); return(Redirect(Url.Action("Index"))); //return Json(returnMessageModel); }
public ActionResult Create(SupplyCategoryInfoViewModel model) { SupplyInfoService.get return(View()); var returnMessageModel = CurrentService.Add(model); return(Redirect(Url.Action("Index"))); //return base.Create(model); }
public override ActionResult Create(CargoLogInfo cargoLogInfo) { var returnMessageModel = CurrentService.Add(cargoLogInfo); return(Redirect(Url.Action("Index", "CargoInfo"))); }