public List <Form> GetAll()
 {
     return(_formDal.GetList());
 }
Esempio n. 2
0
 public List <Form> GetAllForms(Expression <Func <Form, bool> > filter = null, Func <IQueryable <Form>, IOrderedQueryable <Form> > orderBy = null, int skip = 0, int take = 0)
 {
     return(_formDal.GetList(filter ?? (x => true), orderBy ?? (m => m.OrderByDescending(k => k.Id)), skip, take));
 }