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

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

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