예제 #1
0
        public async Task <StudentInfo> Insert(StudentInfo studentInfo)
        {
            _context.Add(studentInfo);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (Exception exp)
            {
            }

            return(studentInfo);
        }