Пример #1
0
        public AdministratedTestBusiness GetAdministratedTest(int administratedTestId)
        {
            _repo = new AdministratedTestRepository();

            AdministratedTestBusiness administratedTest = null;

            try
            {
                administratedTest = _repo.GetAdministratedTestById(administratedTestId);
            }
            catch (NullReferenceException ex)
            {
                //TODO
            }
            catch (ArgumentNullException ex)
            {
                //TODO
            }
            catch (Exception ex)
            {
                //TODO
            }

            return(administratedTest);
        }
Пример #2
0
 public AdministratedTestBusiness GetAdministratedTestById(int adTestId)
 {
     return(_repo.GetAdministratedTestById(adTestId));
 }