public void remove_approval(techproDefautContext context, string id) { var remove = context.sys_approval_details.Where(d => d.id_approval == id); context.sys_approval_details.RemoveRange(remove); var remove1 = context.sys_approvals.Where(d => d.id == id); context.sys_approvals.RemoveRange(remove1); context.SaveChanges(); }
public quality_dashboardController(IUserService userService, techproDefautContext context) : base(userService) { repo = new quality_dashboard_repo(context); }
public production_dashboardController(IUserService userService, techproDefautContext context) : base(userService) { repo = new production_dashboard_repo(context); }
public maintenance_error_listController(IUserService userService, techproDefautContext context) : base(userService) { repo = new maintenance_error_list_repo(context); }
public maintenance_system_device_detailController(IUserService userService, techproDefautContext context) : base(userService) { repo = new maintenance_system_device_detail_repo(context); }
public sys_item_type_repo(techproDefautContext context) { _context = context; }
public maintenance_repair_order_repo(techproDefautContext context) { _context = context; }
public maintenance_planning_repo(techproDefautContext context) { _context = context; }
public sys_department_repo(techproDefautContext context) { _context = context; }
public maintenance_dashboardController(IUserService userService, techproDefautContext context) : base(userService) { repo = new maintenance_dashboard_repo(context); }
public production_processController(IUserService userService, techproDefautContext context) : base(userService) { repo = new production_process_repo(context); }
public sys_item_specification_repo(techproDefautContext context) { _context = context; }
public inventory_production_item_schedule_repo(techproDefautContext context) { _context = context; }
public business_report_delivery_itemController(IUserService userService, techproDefautContext context) : base(userService) { repo = new business_report_delivery_item_repo(context); }
public quality_check_list_itemController(IUserService userService, techproDefautContext context) : base(userService) { repo = new quality_check_list_item_repo(context); }
public business_sale_orderController(IUserService userService, techproDefautContext context) : base(userService) { repo = new business_sale_order_repo(context); }
public business_report_revenue_monthlyController(IUserService userService, techproDefautContext context) : base(userService) { repo = new business_report_revenue_monthly_repo(context); }
public sys_inventory_position_item_capacity_repo(techproDefautContext context) { _context = context; }
public quality_error_reason_repo(techproDefautContext context) { _context = context; }
public maintenance_report_status_system_repo(techproDefautContext context) { _context = context; }
public sys_factory_line_repo(techproDefautContext context) { _context = context; }
public business_dashboardController(IUserService userService, techproDefautContext context) : base(userService) { repo = new business_dashboard_repo(context); }
public sys_item_bomController(IUserService userService, techproDefautContext context) : base(userService) { repo = new sys_item_bom_repo(context); }
public production_process_repo(techproDefautContext context) { _context = context; }
public sys_homeController(IUserService userService, techproDefautContext _context) : base(userService) { context = _context; }
public sys_item_specificationController(IUserService userService, techproDefautContext context) : base(userService) { repo = new sys_item_specification_repo(context); }
public sys_delivery_type_repo(techproDefautContext context) { _context = context; }
public maintenance_repair_processController(IUserService userService, techproDefautContext context) : base(userService) { repo = new maintenance_repair_process_repo(context); }
public business_delivery_scheduleController(IUserService userService, techproDefautContext context) : base(userService) { repo = new business_delivery_schedule_repo(context); }
public business_report_revenue_monthly_repo(techproDefautContext context) { _context = context; }