/// <inheritdoc />
 public void Dispose()
 {
     if (context != null)
     {
         context.Dispose();
         context = null;
     }
 }
        /// <inheritdoc />
        public Task InitializeDatabaseAsync()
        {
            if (context != null)
            {
                throw new InvalidOperationException();
            }

            context = new CashDesktDataContext();
            return(Task.CompletedTask);
        }