public IResult CarImageAdd(IFormFile addFile, CarImage carImage) { var result = BusinessRules.Run(CheckImageLimitExceeded(carImage.CarId)); if (result != null) { return(result); } carImage.ImagePath = _fileManager.AddImage(addFile); carImage.Date = DateTime.Now; _carImageDal.Add(carImage); return(new SuccessResult(Messages.CarImageAdded)); }