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

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