public Task SignIn(UserBusiness user) { var userData = user.Adapt <UserData>(); return(userServices.SignIn(userData)); }
public async Task <IdentityResult> Register(UserBusiness user, string pass) { var userData = user.Adapt <UserData>(); return(await this.userServices.Register(userData, pass)); }