Сервис для работы с кафедры.
コード例 #1
0
ファイル: CathedraServiceTests.cs プロジェクト: dha01/IS
        public void SetUp()
        {
            _cathedraRepository = Mock.Of<ICathedraRepository>();
            _cathedraService = new CathedraService(_cathedraRepository);

            _cathedra = new CathedraItem()
            {
                FullName = "Информациионных систем и технологий",
                ShortName = "ИСиТ",
                FacultyId = 1
            };
        }
コード例 #2
0
ファイル: CathedraServiceTests.cs プロジェクト: dha01/IS
 public void CathedraService_Void_Success()
 {
     var s = new CathedraService();
 }
コード例 #3
0
ファイル: CathedraController.cs プロジェクト: dha01/IS
 /// <summary>
 /// Конструктор контроллера людей.
 /// </summary>
 public CathedraController()
 {
     _cathedraService = new CathedraService();
 }