示例#1
0
 public IList <Appointment> GetList()
 {
     return(_appointmentDal.GetList().Where(x => x.Status == true).ToList());
 }
示例#2
0
        public List <Appointment> GetList(Expression <Func <Appointment, bool> > filter = null)
        {
            var appointments = appointmentDal.GetList(filter);

            return(appointments);
        }