public IEnumerable <ViewSchedules> GetSchedules() { return(schedulesManager.GetSchedules()); }
/// <summary> /// 获取用户指定日期的Schdules /// </summary> /// <param name="date"></param> /// <param name="userId"></param> /// <returns></returns> public List <SchedulesEntity> GetSchedules(DateTime date, int userId) { return(mgr.GetSchedules(date, userId)); }