// POST
        public DataAccessLayer.Models.AttendeeModel Post(DataAccessLayer.Models.AttendeeModel item)
        {
            try
            {
                if (null != item)
                {
                    var record = _repository.Create(item);
                    if (null != record)
                    {
                        item.Id = record.Id;
                    }
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            return(item);
        }