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

            return(new SuccessDataResult <List <Car> >(_carDal.GetAll()));
        }
Exemple #9
0
 public List <Cars> GetAll(Expression <Func <Cars, bool> > filter = null)
 {
     return(_carDal.GetAll());
 }
 public IDataResult <List <CarDetail2Dto> > GetAll()
 {
     return(new DataResult <List <CarDetail2Dto> >(_carDal.GetAll(), true, Messages.ProductListed));
 }
Exemple #11
0
 public List <Car> GetCarsByBrandId(int id)
 {
     return(_carDal.GetAll(c => c.BrandId == id));
 }
Exemple #12
0
 public List <Car> GetAll()
 {
     //Adam mı ki erişecek? if else vs
     return(_carDal.GetAll());
 }
 public List <Car> GetAll(Expression <Func <Car, bool> > filter)
 {
     return(_carDal.GetAll(filter));
 }
Exemple #14
0
 public IDataResult <List <Car> > GetCarsByBrandId(int BrandId)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(c => c.BrandId == BrandId), Messages.CarListed));
 }
Exemple #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()));
 }
Exemple #16
0
 public IDataResult <List <Car> > GetCarsByBrandId(int brandId)
 {
     return(new SuccessDataResult <List <Car> >(_carDal.GetAll(c => c.BrandId == brandId)));
 }
Exemple #17
0
 public IDataResult <List <Car> > GetAll()
 {
     return(new SuccessDataResult <List <Car> >(true, Messages.Get, _carDal.GetAll()));
 }
Exemple #18
0
        public IDataResult <List <Car> > GetAll()
        {
            var result = _carDal.GetAll();

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