public EnterpriseUserController() { _userService = Ioc.GetService <IEnterpriseUserManagementService>(); _entRoleService = Ioc.GetService <IEnterpriseRoleManagementService>(); _entUserRoleService = Ioc.GetService <IFrontUserRoleManagementService>(); _entDepartService = Ioc.GetService <IEnterpriseDepartmentManagementService>(); }
public DepartmentManageController() { service = ML.BC.Infrastructure.Ioc.GetService <IEnterpriseDepartmentManagementService>(); }