예제 #1
0
        public AdminController(UserManager <User> userManager,
                               DbCompositionService dbCompositionService,
                               DbLikeService dbLikeService,
                               DbCommentService dbCommentService,
                               DbRatingService dbRatingService

                               )
        {
            _userManager         = userManager;
            _dbCompostionService = dbCompositionService;
            _dbLikeService       = dbLikeService;
            _dbCommentService    = dbCommentService;
            _dbRatingService     = dbRatingService;
        }
예제 #2
0
 public HomeController(
     DbCompositionService dbCompositionService,
     DbGenreService dbGenreService,
     DbTagService dbTagService,
     DbLikeService dbLikeService,
     DbRatingService dbRatingService,
     UserManager <User> userManager,
     DbCommentService dbCommentService)
 {
     _dbCompositionService = dbCompositionService;
     _dbGenreService       = dbGenreService;
     _dbTagService         = dbTagService;
     _dbLikeService        = dbLikeService;
     _dbRatingService      = dbRatingService;
     _userManager          = userManager;
     _dbCommentService     = dbCommentService;
 }
예제 #3
0
 public AccountController(UserManager <User> userManager,
                          SignInManager <User> signInManager,
                          IEmailSender emailSender,
                          DbCompositionService dbCompositionService,
                          DbTagService dbTagService,
                          DbGenreService dbGenreService,
                          DbRatingService dbRatingService,
                          DbLikeService dbLikeService,
                          DbCommentService dbCommentService
                          )
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _emailSender          = emailSender;
     _dbCompositionService = dbCompositionService;
     _dbTagService         = dbTagService;
     _dbGenreService       = dbGenreService;
     _dbRatingService      = dbRatingService;
     _dbLikeService        = dbLikeService;
     _dbCommentService     = dbCommentService;
 }
예제 #4
0
 public CompositionController(UserManager <User> userManager,
                              DbCompositionService dbCompositionService,
                              DbGenreService dbGenreService,
                              DbTagService dbTagService,
                              ICloudUploader cloudUploader,
                              DbLikeService dbLikeService,
                              DbRatingService dbRatingService,
                              RoleManager <IdentityRole> roleManager,
                              RightService rightService,
                              DbCommentService dbCommentService)
 {
     _userManager          = userManager;
     _dbCompositionService = dbCompositionService;
     _dbGenreService       = dbGenreService;
     _dbTagService         = dbTagService;
     _cloudUploader        = cloudUploader;
     _dbLikeService        = dbLikeService;
     _dbRatingService      = dbRatingService;
     _roleManager          = roleManager;
     _rightService         = rightService;
     _dbCommentService     = dbCommentService;
 }