public async Task StoreCheckinAsync(Checkin checkin)
        {
            Database db = this.ReadOrCreateDatabase();
            DocumentCollection collection = this.ReadOrCreateCollection(db.SelfLink, checkinCollectionId);

            try
            {
                await client.CreateDocumentAsync(collection.SelfLink, checkin);

            }
            catch (Exception ex)
            {

                throw;
            }        }
 public void CreateNewCheckIn(Checkin checkin)
 {
     _checkinrepository.StoreCheckinAsync(checkin);
 }