public Task <InvoiceModel> Load(GetInvoiceById query) { var result = Task <InvoiceModel> .Factory.StartNew( () => GetInvoiceModel(query.Id, query.Locale, query.MemberId)); return(result); }
public void LoadById_Null() { var target = GetTarget(); var query = new GetInvoiceById(); var result = target.Load(query); Assert.IsNull(result); }
public Task <InvoiceModel> Load(GetInvoiceById query) { return(Task.FromResult(new InvoiceModel())); }
public Task <InvoiceModel> Copy(GetInvoiceById request) { throw new System.NotImplementedException(); }