public IDataResult <List <Findex> > GetAll() { return(new SuccessDataResult <List <Findex> >(_findexDal.GetAll(), Messages.FindexListed)); }
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())); }