// POST: api/Events
        public async Task Post([FromBody] ReportEventVM value)
        {
            if (value != null && value.Category != null)
            {
                //NumberFormatInfo format = new NumberFormatInfo();

                // Set the decimal seperator
                //format.NumberDecimalSeparator = ".";

                //var lat = double.Parse(value.Location.Latitude, format);
                //var longitude = double.Parse(value.Location.Longitude, format);

                GeographyPoint location = null;
                if (value.Location != null)
                {
                    location = GeographyPoint.Create(value.Location.Latitude, value.Location.Longitude);
                }

                //GeographyPoint.Create(double.Parse(value.Location.Latitude), double.Parse(value.Location.Longitude));

                var searchDoc = new EventSearchDocument()
                {
                    Category        = value.Category,
                    DataSource      = value.UserId,
                    DataType        = "personal",
                    Description     = value.Description,
                    EventDate       = DateTime.UtcNow.AddHours(1).ToString("yyyy-MM-dd HH:mm:ss"),
                    EventDateOffset = DateTime.UtcNow.AddHours(1),
                    EventId         = Guid.NewGuid().ToString(),
                    Level           = value.Level,
                    Location        = location,
                    Title           = value.Title
                };

                await _eventsIndexHandler.IndexDocuments(new List <EventSearchDocument>() { searchDoc });
            }
        }
 // PUT: api/Events/5
 public void Put(string id, [FromBody] ReportEventVM value)
 {
 }