public static bool UpateUserCrypto(Crypto upcryp) { upcryp.BeneficiaryId = null; return(ControllerHandler <Crypto> .Update(upcryp, Control)); }
public static bool UpateCrypto(Crypto upcryp) { upcryp.UserId = null; return(ControllerHandler <Crypto> .Update(upcryp, Control)); }
public static bool AddCrypto(Crypto newcryp) { return(ControllerHandler <Crypto> .Insert(newcryp, Control)); }
public static bool DeleteCrypto(string crypid) { return(ControllerHandler <Crypto> .Delete(Control + crypid)); }
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 }