public async Task <IActionResult> Post([FromBody] Banner banner) { await _bannerRepository.Create(banner); return(new OkObjectResult(banner)); }
public async Task <IActionResult> Post([FromBody] Banner banner) { await _bannerRepository.Create(banner); return(new OkObjectResult(banner)); }