summaryrefslogtreecommitdiff
path: root/Services/IUserAccountService.cs
blob: 56c665c665bc51812c7da8a8590ff59b0dfd26d3 (plain)
1
2
3
4
5
6
7
8
9
using Microsoft.AspNetCore.Identity;
using BackendPIA.Models;

namespace BackendPIA.Services {
    public interface IUserAccountService {
        public Task<IdentityResult> CreateUserAccount(UserAccount user, string password, string role);
        public Task<UserAccount> GetUserAccount(string email);
    }
}