public Task <IEnumerable <CreditRequestDto> > HandleAsync(CommiteeRequestsQuery query)
 {
     return(ModelsDao.Where(
                m => (m.IsOperatorApproved ?? false) && (m.IsSecurityApproved ?? false) &&
                m.IsCreditCommitteeApproved == null).MapToAsync <CreditRequestDto>());
 }
Пример #2
0
 public ListQueryResult <CreditRequestDto> GetCommiteeRequestsDtos(CommiteeRequestsQuery query)
 {
     return(RunListQuery <CommiteeRequestsQuery, CreditRequestDto>(_queryRepository, query));
 }
Пример #3
0
 public ListQueryResult <CreditRequestViewModel> GetCommiteeRequests(CommiteeRequestsQuery query)
 {
     return(RunListQuery <CommiteeRequestsQuery, CreditRequestDto>(_queryRepository, query)
            .MapTo <CreditRequestViewModel>());
 }
Пример #4
0
 public async Task <ListQueryResult <CreditRequestViewModel> > GetCommiteeRequestsAsync(CommiteeRequestsQuery query)
 {
     return((await RunListQueryAsync <CommiteeRequestsQuery, CreditRequestDto>(_queryRepository, query))
            .MapTo <CreditRequestViewModel>());
 }
Пример #5
0
 public async Task <ListQueryResult <CreditRequestDto> > GetCommiteeRequestsDtosAsync(CommiteeRequestsQuery query)
 {
     return(await RunListQueryAsync <CommiteeRequestsQuery, CreditRequestDto>(_queryRepository, query));
 }