public static List <Payment> getHistory(string id) { List <History> histList = ControllerHandler <History> .Search(Control + id); List <Payment> payList = new List <Payment>(); foreach (History item in histList) { payList.Add(new Payment(item.ScheduleNr, item.Description, item.BeneficairyID, item.PayDate, item.Amount, item.Interval, item.Status, item.PaymentNumber, item.TypePayment, item.Recurring, item.DateCreated, item.UserID, item.BeneficairyID)); } return(payList); }
public static List <Payment> GetPayments(string UserId) { return(ControllerHandler <Payment> .Search(Control + UserId)); }
public static List <Beneficiary> GetBeneficiarys(string UserId) { return(ControllerHandler <Beneficiary> .Search(Control + UserId)); }
public static List <Card> RetrveCards(string userId) { return(ControllerHandler <Card> .Search(Control + userId)); }
public static List <PaymentAccount> SearchUserPaymentAcount(string UserId) { return(ControllerHandler <PaymentAccount> .Search(Control + UserId + "/" + userType.Client)); }
public static List <PaymentAccount> SearchBenPaymentAcount(string BenId) { return(ControllerHandler <PaymentAccount> .Search(Control + BenId + "/" + userType.Beneficiary)); }
public static List <Crypto> GetCrypto(string Beneficiaryid) { return(ControllerHandler <Crypto> .Search(Control + Beneficiaryid + "/" + userType.Beneficiary)); }
public static List <Notification> getNotifications(string UserID) { return(ControllerHandler <Notification> .Search(Control + UserID)); //df }