コード例 #1
0
 public void CostCalculationTests_DataTearDown()
 {
     _context = null;
     _employeeRepo = null;
 }
コード例 #2
0
 public void CostCalculationTests_DataSetUp()
 {
     _context = new EmployeeContext();
     _employeeRepo = new EmployeeRepository(_context);
 }
コード例 #3
0
 public void DeleteEmployeeTests_DataSetUp()
 {
     _context = new EmployeeContext();
     _employeeRepo = new EmployeeRepository(_context);
 }
コード例 #4
0
 public void DeleteEmployeeTests_DataTearDown()
 {
     _context = null;
     _employeeRepo = null;
 }
コード例 #5
0
 public EmployeeRepository(EmployeeContext context)
 {
     _context = context;
 }