public EmployeeService(IEmployeeUoWRepository iObjEmpUoWRep, object iObjEmpUoWRep1, IDepartmentUoWRepository iObjDepUowRep) { OIEmpUoW = iObjEmpUoWRep; ObjEDepUoW = iObjDepUowRep; ioc.RegisterType <IEmployeeUoWRepository, EmployeeUoWRepository>(); ioc.RegisterType <IDepartmentUoWRepository, DepartmentUoWRepository>(); }
public HomeController(IEmployeeService iEmployeeService, IEmployeeUoWRepository iObjEmpUoWRep, IDepartmentUoWRepository iObjDepUowRep) { oEmployeeService = iEmployeeService; OIEmpUoW = iObjEmpUoWRep; ObjEDepUoW = iObjDepUowRep; }