Пример #1
0
        public IEnumerable <CustomerRole> GetCustomerRoles()
        {
            return(_repository.GetCustomerRoles());

            return(_cacheManager.Get(string.Format(CustomerDefaults.CustomerRolesAllCacheKey, ConnKeyConstants.Mssql), 1440,
                                     () => _repository.GetCustomerRoles()));
        }
 public IEnumerable <CustomerRole> GetCustomerRoles()
 {
     return(_repository.GetCustomerRoles());
 }