Exemple #1
0
 public ProposalController(
     IProposalCreator proposalCreator,
     IProposalDeleter proposalDeleter,
     IProposalGetter proposalGetter,
     IProposalUpdater proposalUpdater,
     ISubmittedProposalGetter submittedProposalGetter)
 {
     _proposalCreator         = proposalCreator;
     _proposalDeleter         = proposalDeleter;
     _proposalGetter          = proposalGetter;
     _proposalUpdater         = proposalUpdater;
     _submittedProposalGetter = submittedProposalGetter;
 }
 public ProposalController(
     IProposalCreator proposalCreator,
     IProposalDeleter proposalDeleter,
     IProposalGetter proposalGetter,
     IProposalUpdater proposalUpdater,
     ISubmittedProposalGetter submittedProposalGetter,
     UserManager <User> userManager,
     ILogger <ProposalController> logger)
 {
     _proposalCreator         = proposalCreator;
     _proposalDeleter         = proposalDeleter;
     _proposalGetter          = proposalGetter;
     _proposalUpdater         = proposalUpdater;
     _submittedProposalGetter = submittedProposalGetter;
     _userManager             = userManager;
     _logger = logger;
 }
Exemple #3
0
 public ProposalCreator(
     ISqlDbContext context,
     IMapper mapper,
     ISystemSettingsGetter systemSettingsGetter,
     IUserGetter userGetter,
     ICourseGetter courseGetter,
     ISubmittedProposalGetter submittedProposalGetter,
     IStudentGetter studentGetter)
 {
     _context = context;
     _mapper  = mapper;
     _systemSettingsGetter    = systemSettingsGetter;
     _userGetter              = userGetter;
     _courseGetter            = courseGetter;
     _submittedProposalGetter = submittedProposalGetter;
     _studentGetter           = studentGetter;
 }