コード例 #1
0
 public SuperadminController([FromServices]
                             IUserService userService,
                             ISpecialistService specialistService,
                             ISessionService sessionService,
                             IReviewService reviewService,
                             IProblemService problemService,
                             IProblemImageService problemImageService,
                             IProblemResourceService problemResourceService,
                             IClientVideoReviewService videoReviewService,
                             IFileService fileService,
                             IArticleService articleService,
                             IArticleLikeService articleLikeService,
                             IArticleCommentService articleCommentService,
                             IArticlePublishService articlePublishService)
 {
     UserService            = userService;
     SpecialistService      = specialistService;
     SessionService         = sessionService;
     ReviewService          = reviewService;
     ProblemService         = problemService;
     ProblemImageService    = problemImageService;
     ProblemResourceService = problemResourceService;
     VideoReviewService     = videoReviewService;
     FileService            = fileService;
     ArticleService         = articleService;
     ArticleLikeService     = articleLikeService;
     ArticleCommentService  = articleCommentService;
     ArticlePublishService  = articlePublishService;
 }
コード例 #2
0
 public SpecialistController([FromServices]
                             IUserService userService,
                             IArticleLikeService articleLikeService,
                             IArticleCommentService articleCommentService,
                             IArticlePublishService articlePublishService,
                             ISpecialistService specialistService,
                             IReviewService reviewService,
                             ISessionService sessionService,
                             IProblemService problemService,
                             IProblemImageService problemImageService,
                             IProblemResourceService problemResourceService,
                             IProblemResourceTaskService problemResourceTaskService,
                             SessionsTimerService sessionsTimerService)
 {
     UserService                = userService;
     ArticleLikeService         = articleLikeService;
     ArticleCommentService      = articleCommentService;
     ArticlePublishService      = articlePublishService;
     SpecialistService          = specialistService;
     ReviewService              = reviewService;
     SessionService             = sessionService;
     ProblemService             = problemService;
     ProblemImageService        = problemImageService;
     ProblemResourceService     = problemResourceService;
     ProblemResourceTaskService = problemResourceTaskService;
     SessionsTimerService       = sessionsTimerService;
 }
コード例 #3
0
        public PatientController([FromServices]
                                 IUserService userService,
                                 IProblemService problemService,
                                 ISessionService sessionService,
                                 ISpecialistService specialistService,
                                 IReviewService reviewService,
                                 IUserWalletService userWalletService,
                                 IProblemImageService problemImageService,
                                 IProblemResourceService problemResourceService,
                                 IProblemResourceTaskService problemResourceTaskService,
                                 NotificationsMessageHandler notificationsService)
        {
            UserService                = userService;
            ProblemService             = problemService;
            SessionService             = sessionService;
            SpecialistService          = specialistService;
            ReviewService              = reviewService;
            UserWalletService          = userWalletService;
            ProblemImageService        = problemImageService;
            ProblemResourceService     = problemResourceService;
            ProblemResourceTaskService = problemResourceTaskService;

            NotificationsService = notificationsService;
        }