Esempio n. 1
0
        public IActionResult AddSeed(NewSeedVm model)
        {
            if (ModelState.IsValid)
            {
                _seedService.AddSeed(model, userId);
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }