Пример #1
0
        public async Task <ActionResult <int> > DeleteParkingLotAsync(string name)
        {
            if (!await parkingLotService.ContainExistingParkingLot(name))
            {
                return(NotFound());
            }

            await parkingLotService.DeleteParkingLot(name);

            return(NoContent());
        }