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(); }
public SubmissionController(IReferenceServices pReferenceServices, ISubmissionService pSubmissionService, ISalonYearService pSalonYearService) { this._referenceServices = pReferenceServices; this._submissionService = pSubmissionService; this._salonYearService = pSalonYearService; }