Exemple #1
0
 /// <summary>
 /// Deletes the current default value
 /// </summary>
 public async Task DeleteAsync(DefaultValuePlaceholder defaultValuePlaceholder)
 {
     await _connector.DeleteAsync(defaultValuePlaceholder);
 }
Exemple #2
0
        /// <summary>
        /// Saves the current default value
        /// </summary>
        /// <returns></returns>
        public async Task <int> SaveAsync(DefaultValuePlaceholder defaultValuePlaceholder)
        {
            await _connector.SaveAsync(defaultValuePlaceholder);

            return(defaultValuePlaceholder.ID);
        }