Ejemplo n.º 1
0
        public virtual async Task <TextDto> GetByCultureKeyAsync(GetTextByKeyInput input)
        {
            await CheckGetPolicyAsync();

            var text = await _textRepository.GetByCultureKeyAsync(
                input.ResourceName, input.CultureName, input.Key);

            return(await MapToGetOutputDtoAsync(text));
        }
 public virtual async Task <TextDto> GetByCultureKeyAsync(GetTextByKeyInput input)
 {
     return(await _service.GetByCultureKeyAsync(input));
 }