Exemplo n.º 1
0
 public IDataResult <List <Car> > GetAll(Expression <Func <Car, bool> > filter = null)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(filter)));
 }
Exemplo n.º 2
0
 public List <Car> GetAll()
 {
     //kodlar
     return(_cardal.GetAll());
 }
Exemplo n.º 3
0
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> > (_carDal.GetAll(), Messages.CarsListed));
 }
Exemplo n.º 4
0
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(), "Araçlar listelendi"));
 }
Exemplo n.º 5
0
 public IDataResult <IEnumerable <Car> > GetAll()
 {
     return(_carDal.GetAll());
 }
Exemplo n.º 6
0
 // [PerformanceAspect(5)]
 // [SecuredOperation("user,admin")]
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(), "Başarıyla Listelendi"));
 }
Exemplo n.º 7
0
 public List <Car> GetAll()
 {
     //İş Kodları
     return(_carDal.GetAll(c => c.CarDescription.Length == 2));
 }
Exemplo n.º 8
0
        public IDataResult <List <Car> > GetAll()
        {
            // Koşullar, Kontroller...

            return(new SuccessDataResult <List <Car> >(_carDal.GetAll()));
        }
Exemplo n.º 9
0
 public List <Cars> GetAll(Expression <Func <Cars, bool> > filter = null)
 {
     return(_carDal.GetAll());
 }
Exemplo n.º 10
0
 public IDataResult <List <CarDetail2Dto> > GetAll()
 {
     return(new DataResult <List <CarDetail2Dto> >(_carDal.GetAll(), true, Messages.ProductListed));
 }
Exemplo n.º 11
0
 public List <Car> GetCarsByBrandId(int id)
 {
     return(_carDal.GetAll(c => c.BrandId == id));
 }
Exemplo n.º 12
0
 public List <Car> GetAll()
 {
     //Adam mı ki erişecek? if else vs
     return(_carDal.GetAll());
 }
Exemplo n.º 13
0
 public List <Car> GetAll(Expression <Func <Car, bool> > filter)
 {
     return(_carDal.GetAll(filter));
 }
Exemplo n.º 14
0
 public IDataResult <List <Car> > GetCarsByBrandId(int BrandId)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(c => c.BrandId == BrandId), Messages.CarListed));
 }
Exemplo n.º 15
0
 public IDataResult <List <Car> > GetAllCars(Expression <Func <Car, bool> > filter = null)
 {
     //  Thread.Sleep(5000); //PerformanceAspect'i test etmek için
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll()));
 }
Exemplo n.º 16
0
 public IDataResult <List <Car> > GetCarsByBrandId(int brandId)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(c => c.BrandId == brandId)));
 }
Exemplo n.º 17
0
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> >(true, Messages.Get, _carDal.GetAll()));
 }
Exemplo n.º 18
0
        public IDataResult <List <Car> > GetAll()
        {
            var result = _carDal.GetAll();

            return(new SuccessDataResult <List <Car> >(result, Messages.GetAllCar));
        }
Exemplo n.º 19
0
 public List <Car> GetAll()
 {
     //İşKodları
     //Yetkisi var mı?
     return(_carDal.GetAll());
 }
Exemplo n.º 20
0
 public IDataResult <List <Car> > GetByUnitPrice(decimal min, decimal max)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(p => p.DailyPrice >= min && p.DailyPrice <= max)));
 }
Exemplo n.º 21
0
 public List <Car> GetAll()
 {
     //iş kodları
     return(_carDal.GetAll());
 }
Exemplo n.º 22
0
 public List <Car> GetCars()
 {
     // iş kodları var.
     return(_carDal.GetAll());
 }
Exemplo n.º 23
0
 public List <Car> GetByDailyPrice(decimal min, decimal max)
 {
     return(_carDal.GetAll(p => p.DailyPrice >= min && p.DailyPrice <= max));
 }
Exemplo n.º 24
0
 public IDataResult <List <Car> > GetCarsByBrandID(int Id)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(x => x.BrandID == Id)));
 }
Exemplo n.º 25
0
 public IDataResult<List<Car>> GetAll()
 {
     var getAll = _carDal.GetAll();
     return new SuccessDataResult<List<Car>>(getAll);
 }
Exemplo n.º 26
0
 public IDataResult <List <Car> > GetAll()
 {
     BusinessRules.Run(CheckHourCar());
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(), Messages.CarsListed));
 }
Exemplo n.º 27
0
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll()));
 }
Exemplo n.º 28
0
 public IDataResult <List <Car> > GetAll()
 {
     Thread.Sleep(5000);
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(), Messages.CarListed));
 }
Exemplo n.º 29
0
 public List <Car> GetAll()
 {
     return(_carDal.GetAll());
 }
Exemplo n.º 30
0
 public List <Car> GetAll()
 {
     //iş kodları
     //yetkisi var mı
     return(_carDal.GetAll());
 }