Beispiel #1
0
        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);
        }
Beispiel #3
0
        public override ActionResult Create(CargoLogInfo cargoLogInfo)
        {
            var returnMessageModel = CurrentService.Add(cargoLogInfo);

            return(Redirect(Url.Action("Index", "CargoInfo")));
        }