public GamesController(PictureGuessingDbContext context) { _context = context; _logger = new LoggerConfiguration() .WriteTo.File("logs/log.txt", rollingInterval: RollingInterval.Day) .CreateLogger(); }
public PicturesController(PictureGuessingDbContext context) { _context = context; }