public virtual async Task <RentalLocationItem> CreateOneRentalLocation(CreateRentalLocationModel item) { return(await _rentalLocationService.CreateAsync(item)); }
public async Task <RentalLocationItem> CreateAsync(CreateRentalLocationModel item) { var rentalLocation = _mapper.Map <RentalLocationItem>(item); return(await _rentalLocationDataService.CreateAsync(rentalLocation)); }