public async Task <IActionResult> UpdateById(int id, [FromBody] GeneralNewsRequestModel newsModel) => this.OkOrNotFound(await this.newsService.UpdateById(id, newsModel.Title, newsModel.Content, newsModel.PublishDate));
public async Task <IActionResult> Create([FromBody] GeneralNewsRequestModel newsModel) => this.Ok(await this.newsService.Create( newsModel.Title, newsModel.Content, newsModel.PublishDate));