public IDataResult <Findex> GetById(int Id) { return(new SuccessDataResult <Findex>(_findexDal.Get(p => p.Id == Id))); }
public IDataResult <Findex> GetById(int id) { return(new SuccessDataResult <Findex>(_findeksDal.Get(f => f.Id == id))); }
public IDataResult <Findex> GetByUserId(int userId) { return(new SuccessDataResult <Findex>(_findexDal.Get(f => f.UserId == userId), Messages.FindexListed)); }
public IDataResult <Findex> GetFindexByUserId(int userId) { return(new SuccessDataResult <Findex>(_findexDal.Get(f => f.UserId == userId))); }