public List <Product> GetAll() { return(_productDal.GetAll()); }
public IDataResult <List <Product> > GetAll() { return(new SuccessDataResult <List <Product> >(_productDal.GetAll(), "Ürünler listelendi")); }
public List <Product> GetAll() { //İş kodları return(_productDal.GetAll()); }
public List <Product> GetAll() { //Service codes. //If-else validation. return(_productDal.GetAll()); }
public List <Product> GetAll() { //İş kodları //Yetkisi var mı? return(_productDal.GetAll()); }
public List <Product> GetAll() { //iş kodlarımızı burada yazacağız return(_ProductDal.GetAll()); //IProductdal da yaptığım get all buraya geldi.. }
public IDataResult <List <Product> > GetAll() { return(new SuccessDataResult <List <Product> >(_productDal.GetAll())); }
public IDataResult <List <Product> > GetAll() { return(new SuccesDataResult <List <Product> >(_productDal.GetAll(), Messages.ProductsListed)); }
public List <Product> GetAll() { return(_productDal.GetAll()); //tablodan bütün productları çeker }
public List <Product> GetAll() { //İŞ KODLARI // yetkisi var mı? return(_productDal.GetAll()); }
public IDataResult <List <Product> > GetAllByCategoryId(int id) { return(new SuccessDataResult <List <Product> >(_productDal.GetAll(p => p.CategoryId == id))); }