예제 #1
0
        public async Task <IHttpActionResult> SelectUser(Authenticate au)
        {
            //obtiene si tiene mensajes pendientes de leer en general retorna true o false
            var response = await user.DoLogin(au.User, au.Password, au.PlayerId, au.PushToken);

            return(Ok(response));
        }
예제 #2
0
        public IHttpActionResult DoLogin(string email, string password)
        {
            var dologin = usr.DoLogin(email, password).Result;

            return(Ok(dologin));
        }