diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-04-07 19:30:04 +0300 |
|---|---|---|
| committer | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-04-07 19:30:04 +0300 |
| commit | 43336a1e977f33ad49ad8b4851ca449936f93ce6 (patch) | |
| tree | c5170bebb63d1e57bef891905e0c2839766b8a08 /src/Services/DevHive.Services/Configurations | |
| parent | b8d1edfc582bee2ef648757bcad1bbadd075bb08 (diff) | |
| download | DevHive-43336a1e977f33ad49ad8b4851ca449936f93ce6.tar DevHive-43336a1e977f33ad49ad8b4851ca449936f93ce6.tar.gz DevHive-43336a1e977f33ad49ad8b4851ca449936f93ce6.zip | |
adding functionality to add and remove friends
Diffstat (limited to 'src/Services/DevHive.Services/Configurations')
| -rw-r--r-- | src/Services/DevHive.Services/Configurations/Mapping/UserMappings.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Services/DevHive.Services/Configurations/Mapping/UserMappings.cs b/src/Services/DevHive.Services/Configurations/Mapping/UserMappings.cs index 99b41a8..5a39f73 100644 --- a/src/Services/DevHive.Services/Configurations/Mapping/UserMappings.cs +++ b/src/Services/DevHive.Services/Configurations/Mapping/UserMappings.cs @@ -23,6 +23,9 @@ namespace DevHive.Services.Configurations.Mapping CreateMap<User, UpdateUserServiceModel>() .ForMember(dest => dest.ProfilePictureURL, src => src.MapFrom(p => p.ProfilePicture.PictureURL)); CreateMap<User, FriendServiceModel>(); + + CreateMap<UserServiceModel, UpdateUserServiceModel>(); + CreateMap<UserServiceModel, UpdateFriendServiceModel>(); } } } |
