public ActionResult <ItemDTO> GetAll(long?establishmentId)
        {
            try
            {
                IEnumerable <ItemDTO> itensDTOs;
                if (establishmentId == null || establishmentId <= 0)
                {
                    itensDTOs = _mapper.Map <IEnumerable <ItemDTO> >(_itemAppService.GetAll(this.User));
                }
                else
                {
                    itensDTOs = _mapper.Map <IEnumerable <ItemDTO> >(
                        _itemAppService.GetAllByEstablishmentId((long)establishmentId, this.User));
                }

                if (itensDTOs == null || !itensDTOs.Any())
                {
                    return(NotFound());
                }

                return(Ok(itensDTOs));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }