public async Task <bool> Update(string name, CensoMappingModel item)
        {
            var prev = await Get(name);

            item.InternalId = prev.InternalId;

            ReplaceOneResult actionResult = await context.CensoMappings.ReplaceOneAsync(n => n.Name.Equals(name), item, new UpdateOptions { IsUpsert = true });

            return(actionResult.IsAcknowledged && actionResult.ModifiedCount > 0);
        }
 public async Task Insert(CensoMappingModel item)
 {
     await context.CensoMappings.InsertOneAsync(item);
 }