Esempio n. 1
0
        public IActionResult GetCompany(Guid id)
        {
            Company company = _companyLogic.GetCompanyById(id);

            if (company == null)
            {
                return(BadRequest("Error"));
            }

            return(Ok(company));
        }