diff options
| author | transtrike <transtrike@gmail.com> | 2021-04-02 23:23:49 +0300 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-04-02 23:23:49 +0300 |
| commit | adff0d579e7e23fd78cce144b358f98737c91bcf (patch) | |
| tree | 130c1ae51f13b166ce41487e5b05a5618119d37c /src/Services/DevHive.Services | |
| parent | 0c83049a3a0b417da7dcd548b1cd0992defb366f (diff) | |
| download | DevHive-adff0d579e7e23fd78cce144b358f98737c91bcf.tar DevHive-adff0d579e7e23fd78cce144b358f98737c91bcf.tar.gz DevHive-adff0d579e7e23fd78cce144b358f98737c91bcf.zip | |
InsertProfilePic removed(useless, since every User has one at creation that gets replaced)
Diffstat (limited to 'src/Services/DevHive.Services')
| -rw-r--r-- | src/Services/DevHive.Services/Services/ProfilePictureService.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Services/DevHive.Services/Services/ProfilePictureService.cs b/src/Services/DevHive.Services/Services/ProfilePictureService.cs index 0a4c824..1de2114 100644 --- a/src/Services/DevHive.Services/Services/ProfilePictureService.cs +++ b/src/Services/DevHive.Services/Services/ProfilePictureService.cs @@ -22,14 +22,6 @@ namespace DevHive.Services.Services this._cloudinaryService = cloudinaryService; } - public async Task<string> InsertProfilePicture(ProfilePictureServiceModel profilePictureServiceModel) - { - ValidateProfPic(profilePictureServiceModel.ProfilePictureFormFile); - await ValidateUserExistsAsync(profilePictureServiceModel.UserId); - - return await SaveProfilePictureInDatabase(profilePictureServiceModel); - } - public async Task<string> GetProfilePictureById(Guid id) { return (await this._profilePictureRepository.GetByIdAsync(id)).PictureURL; |
