public IEnumerable <Departman> GetAll() { return(_departmanDal.GetList()); }
public List <Departman> GetAll() { return(_departmanDal.GetList()); }
public List <Departmanlar> GetAllDepartmanlar(Expression <Func <Departmanlar, bool> > filter = null) { return(filter == null?_departmanDal.GetList() : _departmanDal.GetList(filter)); }