diff options
author | crupest <crupest@outlook.com> | 2020-01-21 01:11:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-21 01:11:17 +0800 |
commit | 747bf829351c30069647a44f98ac19f1a214370f (patch) | |
tree | a45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline/Services/DatabaseExtensions.cs | |
parent | 40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (diff) | |
download | timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.gz timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.bz2 timeline-747bf829351c30069647a44f98ac19f1a214370f.zip |
...
Diffstat (limited to 'Timeline/Services/DatabaseExtensions.cs')
-rw-r--r-- | Timeline/Services/DatabaseExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/DatabaseExtensions.cs b/Timeline/Services/DatabaseExtensions.cs index 140c3146..c5c96d8c 100644 --- a/Timeline/Services/DatabaseExtensions.cs +++ b/Timeline/Services/DatabaseExtensions.cs @@ -19,7 +19,7 @@ namespace Timeline.Services /// <exception cref="ArgumentNullException">Thrown if <paramref name="username"/> is null.</exception>
/// <exception cref="UsernameBadFormatException">Thrown if <paramref name="username"/> is of bad format.</exception>
/// <exception cref="UserNotExistException">Thrown if user does not exist.</exception>
- internal static async Task<long> CheckAndGetUser(DbSet<User> userDbSet, string? username)
+ internal static async Task<long> CheckAndGetUser(DbSet<UserEntity> userDbSet, string? username)
{
if (username == null)
throw new ArgumentNullException(nameof(username));
|