public async Task <JObject> Create(Location item) { try { await LocationCollection.InsertOneAsync(item); return (JObject.FromObject( new { status = "success", result = item } )); } catch (Exception ex) { return (JObject.FromObject( new { status = "Exception Thrown", result = false, message = ex.Message } )); } }