예제 #1
0
        public IActionResult AddHorse(Horse horse)
        {
            if (horse != null)
            {
                var model = IHorseService.AddHorse(horse);
            }

            return(RedirectToAction("GetHorses"));
        }