summaryrefslogtreecommitdiff
path: root/Services/IUserAccountService.cs
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-11-20 16:25:07 -0600
committerHombreLaser <sebastian-440@live.com>2022-11-20 16:25:07 -0600
commit0eb1eacf11f8c713478c08633f92d7579da91992 (patch)
tree5f3704778ac581493369b34ace33fcfb29caca4f /Services/IUserAccountService.cs
parent61e9edfd4607b5eab5c291f49cdc3b2c7cb9d654 (diff)
Añadido controlador de administradores
Diffstat (limited to 'Services/IUserAccountService.cs')
-rw-r--r--Services/IUserAccountService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Services/IUserAccountService.cs b/Services/IUserAccountService.cs
new file mode 100644
index 0000000..900e562
--- /dev/null
+++ b/Services/IUserAccountService.cs
@@ -0,0 +1,8 @@
+using Microsoft.AspNetCore.Identity;
+using BackendPIA.Models;
+
+namespace BackendPIA.Services {
+ public interface IUserAccountService {
+ public Task<IdentityResult> CreateUserAccount(UserAccount user, string password, string role);
+ }
+} \ No newline at end of file