예제 #1
0
        public IActionResult Create(CreateSupplierViewModel input)
        {
            if (!ModelState.IsValid)
            {
                return(this.View());
            }

            var supplier = _suppliersService.Create(input.Name);

            return(this.Redirect("/Deliveries/Create"));
        }