예제 #1
0
        public int UpdateEducationDetails(UsersEducationViewModel usersEducationViewModel)
        {
            int isEducationCreated = 0;

            try
            {
                isEducationCreated = _context.usp_UsersEducation_Update(usersEducationViewModel.Id,
                                                                        usersEducationViewModel.UserID, usersEducationViewModel.Institute, usersEducationViewModel.CourseSpecialization,
                                                                        usersEducationViewModel.GPA, usersEducationViewModel.StartPeriod, usersEducationViewModel.EndPeriod, usersEducationViewModel.Comments,
                                                                        usersEducationViewModel.UpdatedBy);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(isEducationCreated);
        }