// GET api/login public bool Get(string user, string password) { var userData = new User(); userData.Username = user; userData.Password = password; return(_loginHandler.IsRegisteredUser(userData)); }