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

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