コード例 #1
0
 public int Create(Students student)
 {
     return(obj.CreateStudent(student));
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public object Post([FromBody] Students student)
 {
     return(obj.CreateStudent(student));
 }