public bool Login(string userId, string password) { bool result = false; var model = _bicycleRepository.Login(userId, password); if (model != null) { result = true; } return(result); }