public JsonResult InspectLabelTest(string fileName) { LabelInspectionManager lim = new LabelInspectionManager(db, true); LabelinspViewModel packingLabelViewModel = lim.InspectLabelTest(fileName); return(Json(packingLabelViewModel)); }
public void Start() { //IDbContextLabelInsp db = AutofacDependencyResolver.Current.ApplicationContainer.Resolve<IDbContextLabelInsp>(); IDbContextLabelInsp db = new DbContextAPP_ElectroluxPLV(); labelInspectionManager = new LabelInspectionManager(db); labelInspectionManager.Start(); }