public IActionResult CreateBanner([FromBody] Banner banner) { if (ModelState.IsValid) { var model = _bannerAppService.CreateBanner(banner); return(Ok(model)); } return(NotFound()); }
public IActionResult CreateBanner([FromBody] Banner banner) { if (ModelState.IsValid) { var model = _bannerAppService.CreateBanner(banner); return(Ok(model)); } return(NotFound()); }