public int CreateExperienceDetails(UsersExperienceViewModel usersExperienceViewModel) { int isExperienceCreated = 0; try { isExperienceCreated = _context.usp_UsersExperience_Insert(usersExperienceViewModel.UserID, usersExperienceViewModel.WorkTitle, usersExperienceViewModel.Company, usersExperienceViewModel.FromDate, usersExperienceViewModel.ToDate, usersExperienceViewModel.Comments, usersExperienceViewModel.CreatedBy); } catch (Exception ex) { throw ex; } return(isExperienceCreated); }