Пример #1
0
 public IResult AddCar(Car car)
 {
     _iCarDal.Add(car);
     return(new SuccessResult(Messages.EntityAdded));
 }
Пример #2
0
 public IResult Add(Car entity)
 {
     _carDal.Add(entity);
     return(new SuccessResult("Car" + Messages.AddSingular));
 }
Пример #3
0
 public IResult Add(Car entity)
 {
     _carDal.Add(entity);
     return(new SuccessResult(Messages.AddedCar));
 }
Пример #4
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new SuccessResult("Araba Başarıyla Eklendi"));
 }
Пример #5
0
 public IResult Add(Car car)
 { //validation >> objeye işlem yapmak için iş kodlarının yapısal olarak uygunluğunu kontrol ediyoruz
     _CarDal.Add(car);
     return(new SuccessResult(Messages.Added));
 }
Пример #6
0
 public IResult Add(Car car)
 {
     ValidationTool.Validate(new CarValidator(), car);
     _carDal.Add(car);
     return(new SuccessResult("Araba Eklendi"));
 }
Пример #7
0
 public void AddCar(Car car)
 {
     _carDal.Add(car);
 }
 public IResult Add(Car entity)
 {
     ValidationTool.Validate(new CarValidator(), entity);
     _carDal.Add(entity);
     return(new SuccessResult(Messages.AddedCar));
 }
 public IResult AddService(Car entity)
 {
     _carDal.Add(entity);
     return(new SuccessResult(CarMessages.CarAdded));
 }
Пример #10
0
 public void Add(Car entity)
 {
     _carDal.Add(entity);
 }
Пример #11
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new Result(true, "Ürün Eklendi"));
 }
Пример #12
0
 public IResult Add(Car car)
 {
     ValidationTool.FluentValidate(new CarValidator(), car);
     _carDal.Add(car);
     return(new SuccessResult(Messages.CarAdd));
 }
Пример #13
0
 public IResult Add(CarDto entity)
 {
     _carDal.Add(_mapper.Map <Car>(entity));
     return(new SuccessResult());
 }
Пример #14
0
 public IResult Add(Car businessEntity)
 {
     _carDal.Add(businessEntity);
     return(new SuccessResult(Messages.carAdded));
 }
Пример #15
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new ErrorResult(Messages.DailyPriceInvalid));
 }
Пример #16
0
        public IResult Add(Car car)
        {
            _carDal.Add(car);

            return(new Result(true, Messages.CarAdded));
        }
Пример #17
0
 public IResult Add(Car car)
 {
     ValidationTool.Validate(new CarValidator(), car);
     _carDal.Add(car);
     return(new SuccessDataResult <Car>(Messages.CarAdded));
 }
Пример #18
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new SuccesResult("Araba Eklendi !"));
 }
Пример #19
0
 public void Add(Car car)
 {
     _carData.Add(car);
 }
Пример #20
0
 [ValidationAspect(typeof(CarValidator))]  //BU işlemin gerçekleşmesi için autofacbusinessmodule e kontrol için kod parçası ekledik
 public IResult Add(Car car)
 {
     //AOP İLE YAPMADAN ÖNCE VALİDASYONU BU ŞEKİLDE UYGULADIK CORE KATMANINDA VAL. TOOL İLE YAPTIK---  ValidationTool.Validate(new CarValidator(), car);
     _carDal.Add(car);
     return(new SuccessResult(Messages.CarAdded));
 }
Пример #21
0
 public void Add(Car car)
 {
     ValidationTool.Validate(new CarValidator(), car);
     _carDal.Add(car);
 }
Пример #22
0
 public IDataResult <Car> Add(Car car)
 {
     _iCarDal.Add(car);
     return(new SuccessDataResult <Car>(car, Messages.CarAdded));
 }
Пример #23
0
 public void Add(Car car)
 {
     _CarDal.Add(car);
 }
Пример #24
0
 public IResult Add(Car car)
 {
     BusinessRules.Run();
     _carDal.Add(car);
     return(new SuccessResult(Messages.CarAdded));
 }
Пример #25
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new SuccessResult());
 }
Пример #26
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new SuccessResult(Messages.Eklendi));
 }
Пример #27
0
 public IResult Add(Car car)
 {
     // ValidationTool.Validate(new CarValidator(), car);
     _carDal.Add(car);
     return(new SuccessResult(Messages.ObjectAdded));
 }
 // [CacheRemoveAspect("IProductService.Get")]
 public IResult Add(Car car)
 {
     //business code
     _carDal.Add(car);
     return(new SuccessResult(Messages.added));
 }
Пример #29
0
 public IResult Add(Car car)
 {
     _carDal.Add(car);
     return(new SuccessResult(Messages.CarAdded));
 }
Пример #30
0
 public IResult Add(Car entity)
 {
     _carDal.Add(entity);
     return(new SuccessResult());
 }