public bool LogIn(UserLogInRequest user) { bool isSuccessful = false; UserBase response = Get(user.EmailAddress, user.Password); if (response != null) { _authenticationService.LogIn(response); isSuccessful = true; } return(isSuccessful); }
public bool LogIn(UserLogInRequest user) { bool isSuccessful = false; //testing at julies house with out Sql DB///////// UserBase response = Get(user.EmailAddress, user.Password); //UserBase response = new UserBase { Email = user.EmailAddress, Id = 1, Password = "******" }; if (response != null) { _authenticationService.LogIn(response); isSuccessful = true; } return(isSuccessful); }