コード例 #1
0
        public void LoadWithFilter_Null()
        {
            var target = GetTarget();
            var query  = new GetInvoicesByFilter();
            var result = target.Filter(query);

            Assert.IsNull(result);
        }
コード例 #2
0
        public Task <List <InvoiceModel> > Load(GetInvoicesByFilter query)
        {
            if (null == query)
            {
                return(null);
            }
            var invoices = LoadFromService(query.MemberId, query.Locale,
                                           query.InvoiceFilterModel != null ? query.InvoiceFilterModel.From : null,
                                           query.InvoiceFilterModel != null ? query.InvoiceFilterModel.To : null);

            return(invoices);
        }
コード例 #3
0
 public Task <List <InvoiceModel> > Load(GetInvoicesByFilter query)
 {
     return(Task.FromResult(new List <InvoiceModel>()));
 }
コード例 #4
0
 public Task <List <InvoiceModel> > Filter(GetInvoicesByFilter query)
 {
     throw new NotImplementedException();
 }