public int Insert(OfficeLocation changedOfficeLocation) { var officeDto = changedOfficeLocation.ExtractDto(); var id = _officeDataTableGateway.Insert(officeDto); return(id); }
public void Update(OfficeLocation changedOfficeLocation) { var officeDto = changedOfficeLocation.ExtractDto(); _officeDataTableGateway.Update(officeDto); }