Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Data / DevHive.Data.Models
diff options
context:
space:
mode:
Commit5595bf9abe7b3d495f36ef39cfa5236dbde86039 (patch)
Author
 transtrike <transtrike@gmail.com>
2021-04-07 19:56:55 +0300
Committer
 transtrike <transtrike@gmail.com>
2021-04-07 19:56:55 +0300
Filese0663d2ece9f8124ff58de7a565944092f67003a /src/Data/DevHive.Data.Models
DevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.tar
DevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.tar.gz
DevHive-5595bf9abe7b3d495f36ef39cfa5236dbde86039.zip
Parent43336a1e977f33ad49ad8b4851ca449936f93ce6 (diff)
Added adding & removing friends funtionality & endpoints for them
1 files changed, 0 insertions, 17 deletions
-rw-r--r--src/Data/DevHive.Data.Models/Friendship.cs17
diff --git a/src/Data/DevHive.Data.Models/Friendship.cs b/src/Data/DevHive.Data.Models/Friendship.cs
deleted file mode 100644
index 91ac9c7..0000000
--- a/src/Data/DevHive.Data.Models/Friendship.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.ComponentModel.DataAnnotations.Schema;
-
-namespace DevHive.Data.Models
-{
- //class for handling the many to many relationship betwen users and users for friends
- public class Friendship
- {
- [NotMapped]
- public Guid BaseUserId { get; set; }
- [NotMapped]
- public Guid FriendUserId { get; set; }
-
- public User BaseUser { get; set; }
- public User FriendUser { get; set; }
- }
-}