public WarrantyModel(List <ExportRecord> orders = null, ImexFilter filter = null, Warranty model = null) { Filter = filter; if (Filter == null) { Filter = new ImexFilter(); } Record = model; if (Record == null) { Record = new Warranty(); } Orders = orders; if (Orders == null) { Orders = new List <ExportRecord>(); } }
public WarrantyModel(List <ProductInfo> products, ImexFilter filter = null, Warranty model = null) { Filter = filter; if (Filter == null) { Filter = new ImexFilter(); } Record = model; if (Record == null) { Record = new Warranty(); } Products = products; if (Orders == null) { Orders = new List <ExportRecord>(); } }