public List <Product> GetAll()
 {
     return(_productDal.GetAll());
 }
Пример #2
0
 public IDataResult <List <Product> > GetAll()
 {
     return(new SuccessDataResult <List <Product> >(_productDal.GetAll(), "Ürünler listelendi"));
 }
Пример #3
0
        public List <Product> GetAll()
        {
            //İş kodları

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