Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Interfaces / ITechnologyRepository.cs
diff options
context:
space:
mode:
Commit2948a92492141f4d807449191901f499530d8465 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-14 00:12:48 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-14 00:12:48 +0200
Files36d30886af22351d86d937f03558c501254ad621 /src/DevHive.Data/Interfaces/ITechnologyRepository.cs
DevHive-2948a92492141f4d807449191901f499530d8465.tar
DevHive-2948a92492141f4d807449191901f499530d8465.tar.gz
DevHive-2948a92492141f4d807449191901f499530d8465.zip
Parentd77add41838823ad50caf8d1ae5ee8e61c1bb26b (diff)
Fixed issues in Language & Technology and their interactions with User
1 files changed, 3 insertions, 2 deletions
-rw-r--r--src/DevHive.Data/Interfaces/ITechnologyRepository.cs5
diff --git a/src/DevHive.Data/Interfaces/ITechnologyRepository.cs b/src/DevHive.Data/Interfaces/ITechnologyRepository.cs
index 7c126a4..d0de096 100644
--- a/src/DevHive.Data/Interfaces/ITechnologyRepository.cs
+++ b/src/DevHive.Data/Interfaces/ITechnologyRepository.cs
@@ -8,6 +8,7 @@ namespace DevHive.Data.Interfaces
public interface ITechnologyRepository : IRepository<Technology>
{
Task<bool> DoesTechnologyExistAsync(Guid id);
- Task<bool> DoesTechnologyNameExist(string technologyName);
+ Task<bool> DoesTechnologyNameExistAsync(string technologyName);
+ Task<Technology> GetByNameAsync(string name);
}
-} \ No newline at end of file
+}