Beispiel #1
0
        public ProfileSettingsViewModel RemoveProfilePhoto(string userId)
        {
            _dataProvider.RemoveProfilePhoto(userId);
            var user = _dataProvider.GetUserById(userId);

            return(_mapper.Map <ProfileSettingsViewModel>(user));
        }