Example #1
0
 public ParticipanciesController(
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     RoleManager <IdentityRole> roleManager,
     IPaperRepository paperRepository,
     ISeasonRepository seasonRepository,
     IParticipanciesRepository participanciesRepository
     )
 {
     _userRepository           = userRepository;
     _userManager              = userManager;
     _emailSender              = emailSender;
     _logger                   = logger;
     _roleManager              = roleManager;
     _paperRepository          = paperRepository;
     _seasonRepository         = seasonRepository;
     _participanciesRepository = participanciesRepository;
 }
 public ReviewsController(
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     RoleManager <IdentityRole> roleManager,
     IPaperRepository paperRepository,
     IPaperVersionRepository paperVersionRepository,
     IReviewRepository reviewRepository,
     ISeasonRepository seasonRepository
     )
 {
     _userRepository         = userRepository;
     _userManager            = userManager;
     _emailSender            = emailSender;
     _logger                 = logger;
     _roleManager            = roleManager;
     _paperRepository        = paperRepository;
     _paperVersionRepository = paperVersionRepository;
     _reviewRepository       = reviewRepository;
     _seasonRepository       = seasonRepository;
 }
 public UsersController(
     IUserRepository userRepository,
     //IServiceProvider serviceProvider,
     UserManager <ApplicationUser> userManager,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     IPaperRepository paperRepository,
     RoleManager <IdentityRole> roleManager,
     IParticipanciesRepository participanciesRepository,
     IReviewRepository reviewRepository
     )
 {
     _userRepository = userRepository;
     //_serviceProvider = serviceProvider;
     _userManager              = userManager;
     _emailSender              = emailSender;
     _logger                   = logger;
     _paperRepository          = paperRepository;
     _roleManager              = roleManager;
     _participanciesRepository = participanciesRepository;
     _reviewRepository         = reviewRepository;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 public PaperService(IPaperRepository paperRepository)
 {
     this.paperRepository = paperRepository;
 }
Example #5
0
 public JoinController(IPaperRepository paperRepository)
 {
     _paperRepository = paperRepository;
 }
 public PaperService(IPaperRepository paperRepository)
 {
     PaperRepository = paperRepository;
 }
Example #7
0
 public HomeController(IPaperRepository paperRepository)
 {
     _paperRepository = paperRepository;
 }
Example #8
0
 public CreateController(IPaperRepository paperRepository)
 {
     _paperRepository = paperRepository;
 }
Example #9
0
 public PaperController(PaperService paperService, IPaperRepository paperRepository)
 {
     PaperService    = paperService;
     PaperRepository = paperRepository;
 }
Example #10
0
 public MarketPaperService(IPaperRepository paperRepository, IObjectMapper mapper)
 {
     _paperRepository = paperRepository;
     _mapper          = mapper;
 }