Ejemplo n.º 1
0
        public List <AssociateExpiredSelfBillingAgreementModel> GetExpiredSelfBillingAgreements()
        {
            var associateList = associateRepo.GetExpiredSelfBillingAgreements();

            return(associateList.Select(getExpiredSelfBillingAgreementsResult => new AssociateExpiredSelfBillingAgreementModel
            {
                AssociateId = getExpiredSelfBillingAgreementsResult.ID, Firstname = getExpiredSelfBillingAgreementsResult.FirstName, Email = getExpiredSelfBillingAgreementsResult.Email
            }).ToList());
        }