public int Create(Students student) { return(obj.CreateStudent(student)); }
public static bool RegisterStudent(string studentName, int grade, DateTime DOB, int contactNumber, int gender, int username) { int status = StudentDAL.CreateStudent(studentName, grade, DOB, gender, contactNumber, username); return(status == 1); }
public object Post([FromBody] Students student) { return(obj.CreateStudent(student)); }