public ActionResult <IEnumerable <BusinessPartner> > Index() { try { var businessPartners = db.List(); return(businessPartners.ToList()); } catch (Exception ex) { throw ex; } }