Сервис для работы с дисциплинами.
示例#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();
 }