Пример #1
0
        public async Task <ActionResult> Delete(int id)
        {
            var request = await _servRepo.GetServiceRequestAsync(id);

            if (await _servRepo.Contains(request))
            {
                await _servRepo.DeleteServiceRequestAsync(request);
            }
            return(Ok());
        }