public async Task <bool> SendEmail(Payment payment) { context.Payment.Add(payment); context.SaveChanges(); var email = memberShipRepository.UpGradeMemberShipEmail(); return(true); }
public async Task <ActionResult <IEnumerable <Modules> > > GetMemberShip() { return(Ok(await memberShipRepository.UpGradeMemberShipEmail())); }