Ejemplo n.º 1
0
        public Task <int> InsertParkingPermitDetails(ParkingPermitResquestModel parkingPermitResquestModel)
        {
            var parkingPermitobj = new ParkingPermit();

            parkingPermitobj = _mapper.Map <ParkingPermit>(parkingPermitResquestModel);

            _parkingPermitContext.ParkingPermit.Add(parkingPermitobj);
            return(_parkingPermitContext.SaveChangesAsync());
        }
Ejemplo n.º 2
0
 public Task RecordCheckoutAsync(ParkingPermit permit) =>
 Task.FromResult(0);