Skip to content

Instantly share code, notes, and snippets.

@ahmetkucukoglu
Last active February 12, 2020 20:44
Show Gist options
  • Select an option

  • Save ahmetkucukoglu/41018641b646b5a5d9e6433a9087bbf2 to your computer and use it in GitHub Desktop.

Select an option

Save ahmetkucukoglu/41018641b646b5a5d9e6433a9087bbf2 to your computer and use it in GitHub Desktop.
ASP.NET Core ile Couchbase GeoSearch - EventDocument.cs
namespace Couchbase.GeoSearchApp
{
using System;
public class EventDocument
{
public string Subject { get; set; }
public DateTimeOffset Date { get; set; }
public string Description { get; set; }
public string Address { get; set; }
public EventLocationDocument Location { get; set; }
}
public class EventLocationDocument
{
public double Lat { get; set; }
public double Lon { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment