public IActionResult AddHorse(Horse horse) { if (horse != null) { var model = IHorseService.AddHorse(horse); } return(RedirectToAction("GetHorses")); }