Exemplo n.º 1
0
        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());
        }