public void LogOpenForPrinting(string title) { var dbcontext = new Model_PDFFinder(); dbcontext.Statisticas.Where(x => x.group_name == title.Substring(0, 5)).First().processed_files_count++; dbcontext.SaveChanges(); }
public void LogOpenForView() { var dbcontext = new Model_PDFFinder(); dbcontext.Statisticas.Where(x => x.group_name == "NoGroup").First().processed_files_count++; dbcontext.SaveChanges(); App.Current.Shutdown(); }