Пример #1
0
 public IDataResult <List <Findex> > GetAll()
 {
     return(new SuccessDataResult <List <Findex> >(_findexDal.GetAll(), Messages.FindexListed));
 }
Пример #2
0
 public IDataResult <List <Findex> > GetAll()
 {
     return(new SuccessDataResult <List <Findex> >(_findexDal.GetAll().ToList()));
 }
 public IDataResult <List <Findex> > GetByUserId(int userId)
 {
     return(new SuccessDataResult <List <Findex> >(_findexDal.GetAll(p => p.UserId == userId).ToList()));
 }