public void addTestResult(Test test) { TestResultDAL.AddTestResult(test); }
public string AddTestResult(int userid, int testid, string date, int timetaken, int correct, int total, string testname) { return(JsonConvert.SerializeObject(TestResultDAL.AddTestResult(userid, testid, timetaken, correct, total, testname))); }