public object Get(CachedCustomers request) { return(base.Request.ToOptimizedResultUsingCache(this.Cache, "urn:customers", () => this.ResolveService <CustomersService>() .Get(new Customers()))); }
public object Get(CachedCustomers request) { return base.Request.ToOptimizedResultUsingCache(this.Cache, "urn:customers", () => this.ResolveService<CustomersService>() .Get(new Customers())); }
public object Get(CachedCustomers request) { return base.RequestContext.ToOptimizedResultUsingCache( this.CacheClient, "urn:customers", () => { var service = this.ResolveService<CustomersService>(); return (CustomersResponse) service.Get(new Customers()); }); }
public object Get(CachedCustomers request) { return(base.Request.ToOptimizedResultUsingCache( this.CacheClient, "urn:customers", () => { var service = this.ResolveService <CustomersService>(); return service.Get(new Customers()); })); }
public object Get(CachedCustomers request) { //Manually create the Unified Resource Name "urn:customers". return base.RequestContext.ToOptimizedResultUsingCache(base.Cache, "urn:customers", () => { //Resolve the service in order to get the customers. using (var service = ResolveService<CustomersService>()) return service.Any(new AllCustomers()); }); }
public object Get(CachedCustomers request) { //Manually create the Unified Resource Name "urn:customers". return(base.RequestContext.ToOptimizedResultUsingCache(base.Cache, "urn:customers", () => { //Resolve the service in order to get the customers. using (var service = this.ResolveService <CustomersService>()) return service.Get(new Customers()); })); }
public object Get(CachedCustomers request) => Gateway.Send(new Customers());