Сервис для работы с дисциплинами.
예제 #1
0
 public void DisciplineService_Void_Success()
 {
     var s = new DisciplineService();
 }
예제 #2
0
        public void SetUp()
        {
            _disciplineRepository = Mock.Of<IDisciplineRepository>();
            _disciplineService = new DisciplineService(_disciplineRepository);

            _discipline = new DisciplineItem()
            {
                Id = 1,
                ShortName = "test",
                FullName = "test_full",
                Mem = "Описание"
            };
        }
예제 #3
0
 /// <summary>
 /// Создание сервиса дисциплин.
 /// </summary>
 public DisciplineController()
 {
     _disciplineService = new DisciplineService();
 }