Esempio n. 1
0
 public IActionResult DeletePageData(string blogName, string pageName)
 {
     try
     {
         _blogDataService.DeletePage(blogName, pageName);
         return(NoContent());
     }
     catch (Exception e)
     {
         Log.Warning($"Request ended with error: {e.Message}");
         return(BadRequest(e.Message));
     }
 }