Exemple #1
0
        public string GetUser()
        {
            var meeting = MeetingsTable.GetById(12);

            if (meeting == null)
            {
                return("Meeting does not exist");
            }

            return($"{meeting.FirstUserId} + {meeting.SecondUserId} + {meeting.Id}");
        }
Exemple #2
0
        public string GetUser()
        {
            var meeting = new Meeting()
            {
                Id                = 12,
                FirstUserId       = "*****@*****.**",
                SecondUserId      = "*****@*****.**",
                Date              = DateTime.Now,
                FirstUserSetRate  = true,
                SecondUserSetRate = false
            };

            MeetingsTable.Add(meeting);

            return("OK");
        }