public async Task InsertAsync(OfficeModel officeModel) { var domainModel = _mapper.Map <OfficeModel, Office>(officeModel); await _repository.InsertAsync(domainModel); }
public async Task InsertAsync(OfficeModel officeModel) { var domainModel = _mapper.Map <OfficeModel, Office>(officeModel); await _repository.InsertAsync(domainModel); }