public IEnumerable <Class> GetClasses(IClassesServices classesServices) { var classes = GetValue("Classes"); if (classes == null) { Add("Classes", classesServices.AllAlpha().ToList(), DateTimeOffset.UtcNow.AddHours(24)); classes = GetValue("Classes"); } return(classes as IEnumerable <Class>); }
public IEnumerable <Class> GetClassesAlpha() { return(_classesServices.AllAlpha()); // return _memCacher.GetClasses(_classesServices); }