public Dashboard()
        {
            InitializeComponent();
            EnvironmentInitializer.CheckAndInitializeSQLiteDB();
            SampleData.AddSampleData();

            using (var dbcontext = new WarehouseContext())
            {
                var query = dbcontext.Database.SqlQuery <User>("select * from Users where Name like @p0", "%二%");
                var list  = query.ToList();
            }
        }
        public async Task <ActionResult <User> > PopulateDB()
        {
            await SampleData.AddSampleData(_context, userManager, roleManager);

            return(Ok("Sample data has been added if there was no existing data"));
        }