Exemplo n.º 1
0
        public FilesController()
        {
            Context = new FileViewerContext();

            if (!DataBaseCleaned)
            {
                Viewer viewer = new Viewer();
                Task.Run(() => Viewer.CleanDataBase());

                DataBaseCleaned = true;
            }
        }