public async Task <I> CreateAdd(params object[] criteria) { var item = await ItemPortal.CreateChild(criteria); base.Add(item); return(item); }
public async Task <I> CreateAdd() { var item = await ItemPortal.CreateChild(); base.Add(item); return(item); }
private async Task CreateChild(Guid criteria, IDisposableDependency dependency) { Assert.IsNotNull(dependency); GuidCriteria = criteria; Add(await ItemPortal.CreateChild(criteria)); }
private async Task CreateChild(int criteria) { IntCriteria = criteria; Add(await ItemPortal.CreateChild(criteria)); }
private async Task CreateChild() { CreateChildCalled = true; Add(await ItemPortal.CreateChild()); }