public List <Personel> GetPersonelAd(int personelId) { return(_personelDal.GetAll(p => p.PersonelId == personelId)); }
public IDataResult <List <Personel> > GetAll() { return(new SuccessDataResult <List <Personel> >(_personelDal.GetAll())); }
public List <Personel> GetAll() { return(_personelDal.GetAll()); }