Exemple #1
0
 public PerformenceService(
     IDeletableEntityRepository <Performence> performenceRepository,
     ICloudinaryService cloudinaryService,
     IPicureService fileService,
     IArtistService artistService
     )
 {
     this.performenceRepository = performenceRepository;
     this.cloudinaryService     = cloudinaryService;
     this.fileService           = fileService;
     this.artistService         = artistService;
 }
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     ISendGrid emailSender,
     IPicureService picureService,
     ICloudinaryService cloudinaryService
     )
 {
     this.userManager       = userManager;
     this.signInManager     = signInManager;
     this.logger            = logger;
     this.emailSender       = emailSender;
     this.picureService     = picureService;
     this.cloudinaryService = cloudinaryService;
 }
 public ArtistRegisterModel(
     ICategoryService categoryService,
     IUserService userService,
     UserManager <ApplicationUser> userManager,
     IHostingEnvironment hostingEnvironment,
     IPicureService picureService,
     SignInManager <ApplicationUser> signInManager,
     ICloudinaryService cloudinaryService
     )
 {
     this.categoryService   = categoryService;
     this.userService       = userService;
     this.UserManager       = userManager;
     this.environment       = hostingEnvironment;
     this.picureService     = picureService;
     this.signInManager     = signInManager;
     this.cloudinaryService = cloudinaryService;
 }