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