public void SaveDto() { // Gather the DTO tree // Keep hooks in place so that I can // send back the DTO to it's "RIGHTFUL OWNER" var dto = new RootDto(); dto.BusinessItemDtos = BusinessItemList.CreateDtos(); DtoPortal.Update(dto); }
public void Fetch(Guid criteria) { var rootDto = DtoPortal.Fetch(criteria); BusinessItemList = BusinessItemListPortal.Fetch(rootDto.BusinessItemDtos); }
void IHandleObjectPortalFetch.Fetch() { var rootDto = DtoPortal.Fetch(); BusinessItemList = BusinessItemListPortal.Fetch(rootDto.BusinessItemDtos); }