internal async static Task <List <MachineRecord> > GetAllReportsAsync(MongoTB.RecordsCollection collection = MongoTB.RecordsCollection.Normal)
 {
     return(await Task.Run(() => MongoTB.GetAllReports(collection)));
 }
 internal static List <MachineRecord> GetReports(string serial_number, MongoTB.RecordsCollection collection = MongoTB.RecordsCollection.Normal)
 {
     return(MongoTB.GetReports(serial_number, collection));
 }
 internal static List <MachineRecord> GetAllReports(MongoTB.RecordsCollection collection)
 {
     return(MongoTB.GetAllReports(collection));
 }