public SysPermissionSampleService(IContextBase <SysPermissionSample> repository, IMapper mapper, IContextBase <SysRole> roleRepo, ISysPermissionSampleGeneralService perSampleGeneralService, IContextBase <SysPermissionSampleGeneral> permissionSampleGeneralRepo, ISysPermissionSampleSpecialService perSampleSpecialService, IContextBase <SysPermissionSampleSpecial> permissioSampleSpecialRepo, IStringLocalizer <LanguageSub> localizer, ISysUserPermissionService userPermissionRepo, ICurrentUser currUser, IContextBase <SysUser> userRepo) : base(repository, mapper) { roleRepository = roleRepo; permissionSampleGeneralService = perSampleGeneralService; permissioSampleGeneralRepository = permissionSampleGeneralRepo; permissionSampleSpecialService = perSampleSpecialService; permissioSampleSpecialRepository = permissioSampleSpecialRepo; stringLocalizer = localizer; currentUser = currUser; userPermissionRepository = userPermissionRepo; userRepository = userRepo; }
/// <summary> /// /// </summary> /// <param name="localizer"></param> /// <param name="peSpecialServiceRepoy"></param> public SysPermissionSampleSpecialController(IStringLocalizer <LanguageSub> localizer, ISysPermissionSampleSpecialService peSpecialServiceRepoy) { stringLocalizer = localizer; perSpecialServiceRepository = peSpecialServiceRepoy; }