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); }
public AdministratedTestBusiness GetAdministratedTestById(int adTestId) { return(_repo.GetAdministratedTestById(adTestId)); }