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)); }
public IHttpActionResult DoLogin(string email, string password) { var dologin = usr.DoLogin(email, password).Result; return(Ok(dologin)); }