public void UpsertAgreement(FeeAgreement feeAgreement)
        {
            using (WiseDBContext db = new WiseDBContext())
            {
                var repo = new WiseRepository(db);

                repo.UpsertAgreement(feeAgreement);
            }
        }
        public void BulkUpsertAgreements(List <FeeAgreement> feeAgreements)
        {
            using (WiseDBContext db = new WiseDBContext())
            {
                var repo = new WiseRepository(db);

                foreach (var feeAgreement in feeAgreements)
                {
                    repo.UpsertAgreement(feeAgreement);
                }
            }
        }