예제 #1
0
        public void Setup()
        {
            this._referenceServices = Substitute.For <IReferenceServices>();
            this._submissionService = Substitute.For <ISubmissionService>();
            this._salonYearService  = Substitute.For <ISalonYearService>();

            this.submissionController = new SubmissionController(this._referenceServices, this._submissionService, this._salonYearService);
            Mapping.CreateConfiguration();
        }
예제 #2
0
 public SubmissionController(IReferenceServices pReferenceServices, ISubmissionService pSubmissionService, ISalonYearService pSalonYearService)
 {
     this._referenceServices = pReferenceServices;
     this._submissionService = pSubmissionService;
     this._salonYearService  = pSalonYearService;
 }