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

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