示例#1
0
 public ReaderController(
     DbChapterService dbChapterService,
     DbCompositionService dbCompositionService,
     DbLikeService dbLikeService,
     UserManager <User> userManager,
     DbRatingService dbRatingService)
 {
     _dbChapterService     = dbChapterService;
     _dbCompositionService = dbCompositionService;
     _dbLikeService        = dbLikeService;
     _userManager          = userManager;
     _dbRatingService      = dbRatingService;
 }
示例#2
0
        public AdminController(UserManager <User> userManager,
                               DbCompositionService dbCompositionService,
                               DbLikeService dbLikeService,
                               DbCommentService dbCommentService,
                               DbRatingService dbRatingService

                               )
        {
            _userManager         = userManager;
            _dbCompostionService = dbCompositionService;
            _dbLikeService       = dbLikeService;
            _dbCommentService    = dbCommentService;
            _dbRatingService     = dbRatingService;
        }
示例#3
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;
 }
示例#4
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;
 }
示例#5
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;
 }