Example #1
0
        public EmployeeService(IEmployeeUoWRepository iObjEmpUoWRep, object iObjEmpUoWRep1, IDepartmentUoWRepository iObjDepUowRep)
        {
            OIEmpUoW   = iObjEmpUoWRep;
            ObjEDepUoW = iObjDepUowRep;

            ioc.RegisterType <IEmployeeUoWRepository, EmployeeUoWRepository>();
            ioc.RegisterType <IDepartmentUoWRepository, DepartmentUoWRepository>();
        }
Example #2
0
 public HomeController(IEmployeeService iEmployeeService, IEmployeeUoWRepository iObjEmpUoWRep, IDepartmentUoWRepository iObjDepUowRep)
 {
     oEmployeeService = iEmployeeService;
     OIEmpUoW         = iObjEmpUoWRep;
     ObjEDepUoW       = iObjDepUowRep;
 }