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