Exemplo n.º 1
0
 public async Task <IActionResult> Delete(string pageRef)
 {
     try
     {
         await _repo.DeletePageAsync(pageRef);
     }
     catch
     {
         return(BadRequest());
     }
     return(Ok());
 }