/// <inheritdoc/>
        public async Task <NewsDto> RemoveNewsAsync(RemoveNewsRequest request)
        {
            var News = await _context.News.FirstOrDefaultAsync(x => x.IdNews == request.IdNews);

            _context.News.Remove(News);
            await _context.SaveChangesAsync();

            return(News);
        }
 public async Task <ServiceResponse <NewsDto> > RemoveNews(RemoveNewsRequest request)
 {
     return(await _executeService.TryExecute(() => _service.RemoveNewsAsync(request)));
 }