예제 #1
0
        public async Task <string> UpdateNewConnection(ConnectionEntity obj)
        {
            await _mongoClient.Update(obj);

            return("updated");
        }
예제 #2
0
        public async Task <string> CrateNewConnection(ConnectionEntity obj)
        {
            await _mongoClient.Insert(obj);

            return("Inserted");
        }