public Service.Organization.Domain.ExternalInterfaceSetting this[Guid id] {
     get {
         var setting = _cache[id];
         if (setting == null)
         {
             setting = Service.Organization.ExternalInterfaceService.Query(id);
             _cache.Save(id, setting);
         }
         return(setting);
     }
 }
Beispiel #2
0
 public DataTransferObject.Organization.CompanyDetailInfo this[Guid id] {
     get {
         var organization = _cache[id];
         if (organization == null)
         {
             organization = Service.Organization.CompanyService.GetCompanyDetail(id);
             _cache.Save(id, organization);
         }
         return(organization);
     }
 }
Beispiel #3
0
 public void Save(CustomContext context)
 {
     _cache.Save(context.Id, context);
 }