Esempio n. 1
0
        public async Task <ActionResult <IEnumerable <PublishingBase> > > GetAll(string token)
        {
            if (CheckValue(token, nameof(token)))
            {
                return(BadRequest(string.Format(Messages.NotAllParametersSpecified, Container.ToString())));
            }
            var response = await _service.GetPublishingAsync(token);

            return(Ok(response));
        }