Пример #1
0
 public IEnumerable <object> GetResources([FromUri] string[] resources, string language)
 {
     foreach (var resource in resources)
     {
         yield return(ResourceUtilities.GetResource(resource, language));
     }
 }
Пример #2
0
 public object GetResource(string resource, string language)
 {
     return(ResourceUtilities.GetResource(resource, language));
 }