public async Task <ActionResult> RemoveSheriffLeave(int id, string expiryReason) { await CheckForAccessToSheriffByLocation <SheriffLeave>(id); await SheriffService.RemoveSheriffLeave(id, expiryReason); return(NoContent()); }
public async Task <ActionResult> RemoveSheriffLeave(int id) { await _service.RemoveSheriffLeave(id); return(NoContent()); }