Esempio n. 1
0
        public IActionResult Company(string ticker)
        {
            var model = _companyData.GetCompany(ticker);

            if (model == null || model.Detail == null)
            {
                return(NotFound());
            }
            return(View(model));
        }
Esempio n. 2
0
 public CompanyModel Get()
 {
     return(_company.GetCompany());
 }