Example #1
0
        public IHttpActionResult Get([FromUri] string applicationId, [FromBody] Dictionary <string, DateTime> requestedLanguages)
        {
            applicationId.ThrowIfNull(nameof(applicationId));
            requestedLanguages.ThrowIfNullOrEmpty(nameof(requestedLanguages));

            var languages = _business.GetLanguages(applicationId, requestedLanguages);

            return(Ok(languages));
        }