public ManageOwnersViewModel( IRequestManager requestManager, IWindowManager windowManager, INotificationManager notificationManager, IEventAggregator eventAggregator, IMappingManager mappingManager, IBusyIndicator busyIndicator) { this.mappingManager = mappingManager; this.windowManager = windowManager; this.eventAggregator = eventAggregator; this.requestManager = requestManager; this.notificationManager = notificationManager; BusyIndicator = busyIndicator; ownerFilter = new OwnerModelFilter(); DisplayName = Resources.HeaderEditBank; Owners = new BindableCollection <OwnerDataModel>(); }
public async Task <List <OwnerModel> > GetOwnersWithParentOwnerCodeAsync(OwnerModelFilter filter) { return(await context.OwnerRepository.GetOwnersWithParentOwnerCodeAsync(filter.Create())); }