示例#1
0
 public CourseDelegatesService(
     ICourseDataService courseDataService,
     ICourseDelegatesDataService courseDelegatesDataService
     )
 {
     this.courseDataService          = courseDataService;
     this.courseDelegatesDataService = courseDelegatesDataService;
 }
示例#2
0
        public void Setup()
        {
            courseDataService          = A.Fake <ICourseDataService>();
            courseDelegatesDataService = A.Fake <ICourseDelegatesDataService>();

            courseDelegatesService = new CourseDelegatesService(
                courseDataService,
                courseDelegatesDataService
                );
        }
示例#3
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            courseDelegatesDataService = new CourseDelegatesDataService(connection);
        }