public static IQueryable <UserProfile> PromptLearnerWithBirthday <TEntity>(this ServingCoach coach, ModelSource <TEntity> models, DateTime startDate, DateTime endDate) where TEntity : class, new() { IQueryable <UserProfile> items = coach.PromptLearnerByAdvisor(models); return(items.FilterLearnerWithBirthday(startDate, endDate)); }
public static IQueryable <UserProfile> PromptLearnerWithBirthday(this ServingCoach coach, GenericManager <BFDataContext> models, DateTime startDate, DateTime endDate) { IQueryable <UserProfile> items = coach.PromptLearnerByAdvisor(models); return(items.FilterLearnerWithBirthday(startDate, endDate)); }