public DepartmentsController(IEmployeeMainRepo mainEmpRepo) { //_context = context; MainEmpRepo = mainEmpRepo; }
//private readonly ApplicationDbContext _context; public EmpLedgerTitlesController(IEmployeeMainRepo MainEmpRepo) { //_context = context; this.MainEmpRepo = MainEmpRepo; }
public DesignationsController(IEmployeeMainRepo mainEmpRepo) { //_context = context; MainEmpRepo = mainEmpRepo; }