Save device report in database.

This commit is contained in:
2018-11-27 01:42:38 +00:00
parent 7b45cf1b92
commit 656b791b47
2 changed files with 8 additions and 0 deletions

View File

@@ -910,6 +910,12 @@ namespace DiscImageChef.Commands
Core.Statistics.AddCommand("device-report");
using(DicContext ctx = new DicContext())
{
ctx.Reports.Add(new Report(report));
ctx.SaveChanges();
}
// TODO:
//if(Settings.Settings.Current.ShareReports) Remote.SubmitReport(report);
}