public async Task <IActionResult> Delete(string emailId, string driveName = null)
 {
     try
     {
         _manager.DeleteAll(emailId, driveName);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(ex.GetActionResult());
     }
 }
示例#2
0
 public async Task <IActionResult> Delete(string id, string driveName = null)
 {
     try
     {
         _manager.DeleteAll(id, driveName);
         return(await base.DeleteEntity(id));
     }
     catch (Exception ex)
     {
         return(ex.GetActionResult());
     }
 }