Exemplo n.º 1
0
 public AdminController
 (
     UserManager <ApplicationUser> userManager,
     IMapper mapper,
     IComponentTypeService componentTypeService,
     IUnitMultiplierService unitMultiplierService,
     IStaticSiteInfoService staticSiteInfoService,
     IComponentTypeDetailService componentTypeDetailService,
     ICloudinaryService cloudinaryService,
     HtmlSanitizer htmlSanitizer
 )
 {
     _userManager                = userManager;
     _mapper                     = mapper;
     _componentTypeService       = componentTypeService;
     _unitMultiplierService      = unitMultiplierService;
     _staticSiteInfoService      = staticSiteInfoService;
     _componentTypeDetailService = componentTypeDetailService;
     _cloudinaryService          = cloudinaryService;
     _htmlSanitizer              = htmlSanitizer;
 }
 public MyComponentsController
 (
     UserManager <ApplicationUser> userManager,
     IMapper mapper,
     IComponentTypeService componentTypeService,
     IUnitMultiplierService unitMultiplierService,
     IStaticSiteInfoService staticSiteInfoService,
     IUserComponentTypeService userComponentTypeService,
     IUserComponentTypeDetailService userComponentTypeDetailService,
     IComponentTypeDetailService componentTypeDetailService,
     ICloudinaryService cloudinaryService
 )
 {
     _userManager                    = userManager;
     _mapper                         = mapper;
     _componentTypeService           = componentTypeService;
     _unitMultiplierService          = unitMultiplierService;
     _staticSiteInfoService          = staticSiteInfoService;
     _userComponentTypeService       = userComponentTypeService;
     _userComponentTypeDetailService = userComponentTypeDetailService;
     _componentTypeDetailService     = componentTypeDetailService;
     _cloudinaryService              = cloudinaryService;
 }
Exemplo n.º 3
0
 public ComponentTypeDetailServiceTests()
 {
     _componentTypeDetailService = new ComponentTypeDetailService(SCManagerDbContext);
 }