public string SaveTest(Test aTest) { if (aTestGateway.CheckTest(aTest)) { return("Test Name is already saved !"); } else { int rowAffected = aTestGateway.SaveTest(aTest); if (rowAffected > 0) { return("Test Saved :)"); } else { return("Test Name save failed !"); } } }