// POST api/<controller> public LoginResponse Post([FromBody] LoginResponse Login) { var login = new LoginResponse(Login.User, Login.Pass); login.Autenticate(DbConnection.GetInstance()); return(login); }