/// <summary> /// Initializes a new instance of the <see cref="RoleController"/> class. /// </summary> public RoleController() { roleService = ServiceLocator.Current.GetInstance<IRoleService>(); roleLocaleService = ServiceLocator.Current.GetInstance<IRoleLocaleService>(); userService = ServiceLocator.Current.GetInstance<IUserService>(); userGroupService = ServiceLocator.Current.GetInstance<IUserGroupService>(); }
/// <summary> /// Initializes a new instance of the <see cref="RoleController"/> class. /// </summary> public RoleController() { roleService = ServiceLocator.Current.GetInstance <IRoleService>(); roleLocaleService = ServiceLocator.Current.GetInstance <IRoleLocaleService>(); userService = ServiceLocator.Current.GetInstance <IUserService>(); userGroupService = ServiceLocator.Current.GetInstance <IUserGroupService>(); }