public async Task <IActionResult> InsertEditorial(EditorialDto EditorialDto)
        {
            var editorial = _mapper.Map <Editorial>(EditorialDto);

            await _editorialRepository.InsertEditorial(editorial);

            return(Ok(editorial));
        }
Exemple #2
0
 public Task <bool> InsertEditorial(Editorial data)
 {
     return(_repository.InsertEditorial(data));
 }