summaryrefslogtreecommitdiff
path: root/Services/UserAccountService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Services/UserAccountService.cs')
-rw-r--r--Services/UserAccountService.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Services/UserAccountService.cs b/Services/UserAccountService.cs
index e81ea76..eccaff3 100644
--- a/Services/UserAccountService.cs
+++ b/Services/UserAccountService.cs
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Identity;
using BackendPIA.Models;
+using BackendPIA.Forms;
namespace BackendPIA.Services {
public class UserAccountService : IUserAccountService {
@@ -17,5 +18,11 @@ namespace BackendPIA.Services {
return result;
}
+
+ public async Task<UserAccount> GetUserAccount(string email) {
+ var result = await _manager.FindByEmailAsync(email);
+
+ return result;
+ }
}
} \ No newline at end of file