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