Сервис для работы с семестром.
Beispiel #1
0
 public void SemesterService_Void_Success()
 {
     var s = new SemesterService();
 }
Beispiel #2
0
        public void SetUp()
        {
            _semesterRepository = Mock.Of<ISemesterRepository>();
            _semesterService = new SemesterService(_semesterRepository);

            _semester = new SemesterItem()
            {
                FromDate = DateTime.Now.Date,
                TrimDate = DateTime.Now.AddDays(120).Date
            };
        }
Beispiel #3
0
 /// <summary>
 /// Конструктор контроллера семестров.
 /// </summary>
 public SemesterController()
 {
     _semesterService = new SemesterService();
 }