aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs
diff options
context:
space:
mode:
authorVictor S <57849063+transtrike@users.noreply.github.com>2021-04-02 23:55:25 +0300
committerGitHub <noreply@github.com>2021-04-02 23:55:25 +0300
commitbad7456b379bcc683431e2279591f7c5227bd55a (patch)
treeb82e15d10e28759dcd066b38ccdd16c23753b33c /src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs
parent2448c4d31188aed26605c5e3c282bacc3bd71ae5 (diff)
parentb0c6c6e1795a1cc8fe82a60ce16a263ab4cad397 (diff)
downloadDevHive-bad7456b379bcc683431e2279591f7c5227bd55a.tar
DevHive-bad7456b379bcc683431e2279591f7c5227bd55a.tar.gz
DevHive-bad7456b379bcc683431e2279591f7c5227bd55a.zip
Merge pull request #24 from Team-Kaleidoscope/feature/profile_picture_implementation
- Removed InsertProfilePicture from Service layer (unneeded) - ReadProfilePicture endpoint implemented
Diffstat (limited to 'src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs')
-rw-r--r--src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs b/src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs
new file mode 100644
index 0000000..45beaa0
--- /dev/null
+++ b/src/Data/DevHive.Data/Interfaces/IProfilePictureRepository.cs
@@ -0,0 +1,11 @@
+using System;
+using System.Threading.Tasks;
+using DevHive.Data.Models;
+
+namespace DevHive.Data.Interfaces
+{
+ public interface IProfilePictureRepository : IRepository<ProfilePicture>
+ {
+ Task<ProfilePicture> GetByURLAsync(string picUrl);
+ }
+}