public uspValidateUser_Result ValidateUser(uspValidateUser_Result loginRequest) { var response = _bikeStoresContext.uspValidateUser(loginRequest.username, loginRequest.password); var result = response.FirstOrDefault(); return(result); }
public uspValidateUser_Result ValidateUser(uspValidateUser_Result loginRequest) { var response = _bikeStoresContext.uspValidateUser(loginRequest.username, loginRequest.password); var result = response.FirstOrDefault(); return(result); }