Modified register user service method to be async

This commit is contained in:
2023-02-23 00:06:24 -06:00
committed by Carl Tibule
parent 9a221fcca1
commit 238c92f711
4 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,12 @@
using YABA.Common.DTOs;
using System.Threading.Tasks;
using YABA.Common.DTOs;
namespace YABA.Service.Interfaces
{
public interface IUserService
{
public bool IsUserRegistered(string authProviderId);
public UserDTO RegisterUser(string authProviderId);
public int GetUserId(string authProviderId);
bool IsUserRegistered(string authProviderId);
Task<UserDTO> RegisterUser(string authProviderId);
int GetUserId(string authProviderId);
}
}