private static void Main(string[] args) { var userRepo = new UserRepository(); var userClient = new UserClient(userRepo); userClient.LogIn("Pesho"); userClient.Post("Az sam Pesho ida ot goritsa."); var allMessges = GetAllPosts(userRepo); foreach (var message in allMessges) { Console.WriteLine(message.Text + " - " + message.Date); } }