public bool AddUserProfiles(UserProfileModel userprofiles) { this._userProfileRepository.Add(userprofiles.ProjectedAs <UserProfile>()); this._userProfileRepository.UnitOfWork.SaveChanges(); return(true); }