Сервис для работы с факультетами.
示例#1
0
 public void FacultyService_Void_Success()
 {
     var s = new FacultyService();
 }
示例#2
0
 /// <summary>
 /// Конструктор контроллера факультетов.
 /// </summary>
 public FacultyController()
 {
     _facultyService = new FacultyService();
 }
示例#3
0
        public void SetUp()
        {
            _facultyRepository = Mock.Of<IFacultyRepository>();
            _facultyService = new FacultyService(_facultyRepository);

            _faculty = new FacultyItem()
            {
                FullName = "Экономический",
                ShortName = "Э"
            };
        }