public void AuthorizePostTest()
 {
     var authorizeController = new AuthorizeController();
     var login = authorizeController.Authenticate(new Logon { UserName = "******", Password = "******" });
     Assert.AreEqual("1", login.Id);
 }
 public void AuthorizeGetTest()
 {
     var authorizeController = new AuthorizeController();
     var login = authorizeController.Authenticate("*****@*****.**", "password");
     Assert.AreEqual("1", login.Id);
 }