public async Task <IActionResult> DeleteContent(DeleteContentDTO input)
        {
            try
            {
                await _contentService.DeleteContent(input);

                return(Ok());
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemple #2
0
 public async Task DeleteContent(DeleteContentDTO input)
 {
     await _repository.Delete(input.Id);
 }