public List <Personel> GetAll() { //Linq kullanılarak filitre verilir return(_personelDal.GetList()); }
//[CacheAspect(typeof(MemoryCacheManager),120)] public List <Personel> GetAll() { return(_personelDal.GetList()); }
public IDataResult <List <Personel> > GetList() { return(new SuccessDataResult <List <Personel> >(_personelDal.GetList().ToList())); }