コード例 #1
0
 public RtpProjectController(IRtpRepository rtpRepository, IRtpProjectRepository rtpProjectRepository, ITripsUserRepository userRepository)
     : base("RtpProjectController", userRepository)
 {
     _rtpRepository = rtpRepository;
     _rtpProjectRepository = rtpProjectRepository;
     _config = DRCOGConfig.GetConfig();
 }
コード例 #2
0
ファイル: AllRestore.cs プロジェクト: ccpowell/mvc4-examples
 public AllRestore(Int32 projectVersionID, IRtpProjectRepository repo)
 {
     _repo = repo;
     _projectVersionID = projectVersionID;
     Amendment = new CycleAmendment();
     Amendment = this.UpdateStatus(ref this.Amendment);
 }
コード例 #3
0
 public RtpOperationController(IRtpRepository rtpRepo,
     IRtpProjectRepository projectRepo, TripsRepository trepo)
 {
     RtpRepository = rtpRepo;
     RtpProjectRepository = projectRepo;
     TripsRepository = trepo;
 }
コード例 #4
0
 public SurveyController(ISurveyRepository surveyRepository, 
     IRtpProjectRepository rtpProjectRepository,
     ITripsUserRepository userRepository,
     Trips4.Data.TripsRepository trepo)
     : base("SurveyController", userRepository)
 {
     _rtpProjectRepository = rtpProjectRepository;
     _surveyRepository = surveyRepository;
     TripsRepository = trepo;
 }
コード例 #5
0
 public ApprovedDelete(CycleAmendment amendment, IRtpProjectRepository repo)
 {
     Amendment = amendment;
     ProjectRepository = repo;
 }
コード例 #6
0
 public PendingToAdopted(IRtpProjectRepository repo, CycleAmendment amendment)
 {
     RtpProjectRepository = repo;
     Amendment = this.UpdateStatus(amendment);
 }
コード例 #7
0
 /*
     *Get Current Amendment Status
      * Does project need to be copied?
      * Amend Project
      * Check if Previous Active Amendment needs to be changed to inactive
      * Return to details page
 */
 public AmendmentStrategy(IRtpProjectRepository repo, CycleAmendment amendment)
 {
     RtpProjectRepository = repo;
     Amendment = amendment;
 }
コード例 #8
0
 public DeleteStrategy(IRtpProjectRepository repo, CycleAmendment amendment)
 {
     _repo = repo;
     _amendment = amendment;
 }
コード例 #9
0
 public RtpProjectSegmentController(IRtpProjectRepository rprepo,
     Trips4.Data.TripsRepository trepo)
 {
     TripsRepository = trepo;
     RtpProjectRepository = rprepo;
 }
コード例 #10
0
 public InProgressDelete(CycleAmendment amendment, IRtpProjectRepository repo)
 {
     _repo = repo;
     _amendment = amendment;
 }
コード例 #11
0
 public RtpProjectLocationController(IRtpProjectRepository rprepo,
     Trips4.Data.TripsRepository trepo)
 {
     TripsRepository = trepo;
     RtpProjectRepository = rprepo;
 }
コード例 #12
0
 public RestoreStrategy(IRtpProjectRepository repo, Int32 projectVersionID)
 {
     _repo = repo;
     _projectVersionID = projectVersionID;
 }
コード例 #13
0
ファイル: PendingDrop.cs プロジェクト: ccpowell/mvc4-examples
 public PendingDrop(CycleAmendment amendment, IRtpProjectRepository repo)
 {
     _repo = repo;
     _amendment = this.UpdateStatus(amendment);
 }
コード例 #14
0
 public DeleteToSubmitted(IRtpProjectRepository repo, CycleAmendment amendment)
 {
     RtpProjectRepository = repo;
     Amendment = UpdateStatus(amendment);
 }
コード例 #15
0
 public SubmittedToPending(IRtpProjectRepository repo, CycleAmendment amendment)
 {
     RtpProjectRepository = repo;
     Amendment = this.UpdateStatus(amendment);
 }