public IActionResult AddNews([FromBody] Noticia noticia) { var result = _noticiaService.AddNews(noticia); if (result) { return(Ok("Exito")); } else { return(BadRequest()); } }
public IActionResult AddNews([FromBody] Noticia noticia) { var result = _noticiaService.AddNews(noticia); if (result) { return(Ok("Exito")); } else { return(BadRequest()); } }