Exemplo n.º 1
0
        /// <summary>
        /// Applies all changes made by this window.
        /// </summary>
        /// <returns>True if successful, otherwise false.</returns>
        protected async virtual Task <bool> ApplyChangesAsync()
        {
            var result = await _logic.SaveViewModelAsync();

            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Applies all changes made by this window.
 /// </summary>
 /// <returns>True if successful, otherwise false.</returns>
 protected virtual async Task <bool> ApplyChangesAsync()
 {
     return(await _logic.SaveViewModelAsync());
 }