예제 #1
0
        public Meetup AddMeetup(string address, string description, User user)
        {
            try
            {
                Meetup meetup = new Meetup();
                meetup.Address     = address;
                meetup.Description = description;
                meetup.User        = user;

                Meetup.Save(meetup);
                return(meetup);
            }
            catch
            {
                return(null);
            }
        }