public async Task <ActionResult <ParkingLotDto> > Add(ParkingLotDto parkingLotDto)
        {
            var isNameExisted = await parkingLotService.IsParkingLotNameExisted(parkingLotDto);

            if (isNameExisted)
            {
                return(Conflict(new Dictionary <string, string>()
                {
                    { "message", "Name of parkingLot exists!" }
                }));
            }

            if (string.IsNullOrEmpty(parkingLotDto.Name) || string.IsNullOrEmpty(parkingLotDto.Location) || parkingLotDto.Capacity < 0)
            {
                return(BadRequest(new Dictionary <string, string>()
                {
                    { "message", "Name and Location of parkingLot can not be null!" }
                }));
            }

            var id = await this.parkingLotService.AddParkingLot(parkingLotDto);

            return(CreatedAtAction(nameof(GetById), new { id = id }, parkingLotDto));
        }