Ejemplo n.º 1
0
        public ApoDivisonController()
        {
            var apoDivisionRepository = SetUpMockHelper.GetApoDivisionRepository();

            _apoDivisionService = new ApoDivisionService(apoDivisionRepository
                                                         , new ApoGroupService(SetUpMockHelper.GetApoGroupRepository(), SetUpMockHelper.GetApoDivisionRepository()));
        }
Ejemplo n.º 2
0
 public ApoDeptServiceTest()
 {
     MapperHelper.SetUpMapper();
     _apoDivisionRepository = SetUpMockHelper.GetApoDivisionRepository();
     _apoDivision           = DataInitializer.GetApoDivisions();
     _apoGroupRepository    = SetUpMockHelper.GetApoGroupRepository();
     _apoGroup = DataInitializer.GetApoGroup();
     _apoDepartmentRepository = SetUpMockHelper.GetApoDepartmentRepository();
     _apoDepartment           = DataInitializer.GetApoDepartment();
 }
 public ApoDepartmentController()
 {
     _apoDepartmentService = new ApoDepartmentService(SetUpMockHelper.GetApoDivisionRepository(),
                                                      SetUpMockHelper.GetApoGroupRepository(), SetUpMockHelper.GetApoDepartmentRepository());
 }