public IResult AddImage(Car carImages) { IResult result = BusinessRules.Run(CheckImageLimit(carImages.ImageCount)); if (result != null) { return(result); } _carDal.AddImage(carImages); return(new SuccessResult()); }