public async Task <StudentInfo> Insert(StudentInfo studentInfo) { _context.Add(studentInfo); try { await _context.SaveChangesAsync(); } catch (Exception exp) { } return(studentInfo); }