public async Task <ActionResult> DeleteGruntTasking(int tid)
 {
     try
     {
         await _context.DeleteGruntTasking(tid);
     }
     catch (ControllerNotFoundException e)
     {
         return(NotFound(e.Message));
     }
     catch (ControllerBadRequestException e)
     {
         return(BadRequest(e.Message));
     }
     return(new NoContentResult());
 }