public List <Product> GetAll()
 {
     return(_productDal.GetAll());
 }
Ejemplo n.º 2
0
 public IDataResult <List <Product> > GetAll()
 {
     return(new SuccessDataResult <List <Product> >(_productDal.GetAll(), "Ürünler listelendi"));
 }
Ejemplo n.º 3
0
        public List <Product> GetAll()
        {
            //İş kodları

            return(_productDal.GetAll());
        }
Ejemplo n.º 4
0
 public List <Product> GetAll()
 {
     //Service codes.
     //If-else validation.
     return(_productDal.GetAll());
 }
Ejemplo n.º 5
0
 public List <Product> GetAll()
 {
     //İş kodları
     //Yetkisi var mı?
     return(_productDal.GetAll());
 }
Ejemplo n.º 6
0
 public List <Product> GetAll()
 {
     //iş kodlarımızı burada yazacağız
     return(_ProductDal.GetAll()); //IProductdal da yaptığım get all buraya geldi..
 }
Ejemplo n.º 7
0
 public IDataResult <List <Product> > GetAll()
 {
     return(new SuccessDataResult <List <Product> >(_productDal.GetAll()));
 }
Ejemplo n.º 8
0
 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
 }
Ejemplo n.º 10
0
 public List <Product> GetAll()
 {
     //İŞ KODLARI
     // yetkisi var mı?
     return(_productDal.GetAll());
 }
Ejemplo n.º 11
0
 public IDataResult <List <Product> > GetAllByCategoryId(int id)
 {
     return(new SuccessDataResult <List <Product> >(_productDal.GetAll(p => p.CategoryId == id)));
 }