public SysResourceService( IMapper mapper, ICache cache, ISysResourceRepository sysResourceRepository, ISysRResourceApiRepository sysRResourceApiRepository, IResourceDomain resourceDomain ) { _mapper = mapper; _cache = cache; _sysResourceRepository = sysResourceRepository; _sysRResourceApiRepository = sysRResourceApiRepository; _resourceDomain = resourceDomain; }
/// <summary> /// Constructor to Resource API. /// </summary> /// <param name="resourceDomain"></param> public ResourceController(IResourceDomain resourceDomain) { _resourceDomain = resourceDomain; }