Ejemplo n.º 1
0
        public string PostSignUp(SignInUpDto credentials)
        {
            var manager = new LoginManager();
            var result = manager.SignUp(credentials.Email, credentials.Password);

            return result ? manager.SignIn(credentials.Email, credentials.Password) : null;
        }
Ejemplo n.º 2
0
 public string PostSignIn(SignInUpDto credentials)
 {
     var manager = new LoginManager();
     return manager.SignIn(credentials.Email, credentials.Password);
 }