public AppLogger(SQLiteDBContext sqliteDBContext)
        {
            _sqliteSink = new SQLiteSink(sqliteDBContext);

            Logger = new LoggerConfiguration()
                     .WriteTo.Sink(_sqliteSink)
                     .CreateLogger();
        }
        public static async Task <int> InitiateSeed(SQLiteDBContext context)
        {
            int recordsUpdated = 0;

            if (context.SystemConfigs == null || !context.SystemConfigs.Any())
            {
                recordsUpdated += await SeedSystemConfig(context);

                recordsUpdated += await SeedWebGLData(context);

                recordsUpdated += await SeedStoreAppData(context);

                recordsUpdated += await SeedBlogData(context);
            }

            return(recordsUpdated);
        }
 public SQLiteSink(SQLiteDBContext sqliteDBContext)
 {
     _sqliteDBContext = sqliteDBContext;
 }