public AutoService(IMapper mapper, SPNDbContext dbContext, IUserService userService, Cloudinary cloudinary, ImagesHelper imagesHelper)
     : base(mapper, dbContext)
 {
     this.userService  = userService;
     this.cloudinary   = cloudinary;
     this.imagesHelper = imagesHelper;
 }
Exemplo n.º 2
0
 public ReplyService(
     IMapper mapper,
     SPNDbContext dbContext,
     IPostService postService,
     IUserService userService
     ) : base(mapper, dbContext)
 {
     this.postService = postService;
     this.userService = userService;
 }
Exemplo n.º 3
0
 public UserService(SPNDbContext context,
                    IHttpContextAccessor httpContextAccessor,
                    UserManager <User> userManager,
                    SPNDbContext dbContext,
                    Cloudinary cloudinary
                    )
 {
     this.context             = context;
     this.httpContextAccessor = httpContextAccessor;
     this.userManager         = userManager;
     this.dbContext           = dbContext;
     this.cloudinary          = cloudinary;
 }
        public SearchService(IMapper mapper,
                             SPNDbContext dbContext,
                             IMakeService makeService,
                             ValidatePrimaryPropertiesSearch primaryPropertiesValidator,
                             ValidateInteriorSearch interiorsValidator,
                             ValidateInteriorMaterialsSearch interiorMaterialsvalidator,
                             ValidateSafetySearch safetyValidator,
                             ValidateSpecializedFeaturesSearch specializedFeaturesValidator,
                             ValidateSuspensionsSearch suspensionsValidator,
                             ValidateExtraFeaturesSearch extraFeaturesValidator)
            :

            base(mapper, dbContext)
        {
            this.makeService = makeService;
            this.primaryPropertiesValidator   = primaryPropertiesValidator;
            this.interiorsValidator           = interiorsValidator;
            this.interiorMaterialsvalidator   = interiorMaterialsvalidator;
            this.safetyValidator              = safetyValidator;
            this.specializedFeaturesValidator = specializedFeaturesValidator;
            this.suspensionsValidator         = suspensionsValidator;
            this.extraFeaturesValidator       = extraFeaturesValidator;
        }
Exemplo n.º 5
0
        public SPNCategorySeeder(SPNDbContext dbContext)

        {
            this.dbContext = dbContext;
        }
Exemplo n.º 6
0
 public CategoryService(IMapper mapper, SPNDbContext dbContext, IPostService postService)
     : base(mapper, dbContext)
 {
     this.postService = postService;
 }
 public BaseService(IMapper mapper, SPNDbContext dbContext)
 {
     this.mapper    = mapper;
     this.dbContext = dbContext;
 }
Exemplo n.º 8
0
 public ModelService(IMapper mapper, SPNDbContext dbContext)
     : base(mapper, dbContext)
 {
 }
Exemplo n.º 9
0
 public SPNConciseAutoSeed(SPNDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public PostService(IMapper mapper, SPNDbContext dbContext, IUserService userService)
     : base(mapper, dbContext)
 {
     this.userService = userService;
 }
Exemplo n.º 11
0
 public PostLikeService(IMapper mapper, SPNDbContext dbContext)
     : base(mapper, dbContext)
 {
 }
Exemplo n.º 12
0
 public SPNUserRoleSeeder(SPNDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public QuoteService(IMapper mapper, SPNDbContext dbContext, IReplyService replyService, IUserService userService)
     : base(mapper, dbContext)
 {
     this.replyService = replyService;
     this.userService = userService;
 }