public UTCService.Car MapToServiceModel(Models.Car _car) { UTCService.Car car = new UTCService.Car(); car.Id = _car.Id; car.Brand = _car.Brand; car.CarStatus = _car.CarStatus; car.CarType = _car.CarType; car.Color = _car.Color; car.Fuel = _car.Fuel; car.Mileage = _car.Mileage; car.Model = _car.Model; car.Seats = _car.Seats; car.TotalCost = _car.TotalCost; car.YearOfProduction = _car.YearOfProduction; return(car); }
public void UpdateCar(UTCService.Car newCar) { base.Channel.UpdateCar(newCar); }
public System.Threading.Tasks.Task UpdateCarAsync(UTCService.Car newCar) { return base.Channel.UpdateCarAsync(newCar); }
public void AddCar(UTCService.Car newCar) { base.Channel.AddCar(newCar); }