public string SubmitScore(string score, string Comments, string TeamName) { csLayer = new ConnectionStringLayer(); /*Connection String which is accessed from Connection string layer*/ string conString = csLayer.cs; JudgeAddScoresDAL loadDAL = new JudgeAddScoresDAL(conString); string dt = loadDAL.SubmitScore(Convert.ToInt32(score), Comments, TeamName); return(dt); }
public DataTable LoadGrid(string appointmentDate) { csLayer = new ConnectionStringLayer(); /*Connection String which is accessed from Connection string layer*/ string conString = csLayer.cs; JudgeAddScoresDAL loadDAL = new JudgeAddScoresDAL(conString); DataTable dt = loadDAL.LoadGrid(appointmentDate); return(dt); }