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; }
public JoinController(IPaperRepository paperRepository) { _paperRepository = paperRepository; }
public PaperService(IPaperRepository paperRepository) { PaperRepository = paperRepository; }
public HomeController(IPaperRepository paperRepository) { _paperRepository = paperRepository; }
public CreateController(IPaperRepository paperRepository) { _paperRepository = paperRepository; }
public PaperController(PaperService paperService, IPaperRepository paperRepository) { PaperService = paperService; PaperRepository = paperRepository; }
public MarketPaperService(IPaperRepository paperRepository, IObjectMapper mapper) { _paperRepository = paperRepository; _mapper = mapper; }