public static JBHRContext GetJBHRContext() { if (jBHRContext == null) { var builder = new DbContextOptionsBuilder <JBHRContext>(); var contextOption = builder.UseSqlServer(TestConfig.HrConntionString).Options; jBHRContext = new JBHRContext(contextOption); } return(jBHRContext); }
public Employee_Normal_GetEmployeeInfo(JBHRContext context) { _context = context; }
public Employee_Normal_GetPeopleByDept(JBHRContext context) { _context = context; }