public static bool ModifyPartner(PartnerEntity partner) { return(PartnerProvider.Modify(partner)); }
public static List <PartnerEntity> ListPartners() { return(PartnerProvider.List(p => true)); }
public static bool DeletePartner(PartnerEntity partner) { return(PartnerProvider.Remove(partner)); }
public static bool NewPartner(PartnerEntity partner) { return(PartnerProvider.Add(partner)); }
public static List <PartnerEntity> ListDealers() { return(PartnerProvider.List(p => p.Dealer)); }
public static List <PartnerEntity> ListCustomers() { return(PartnerProvider.List(p => p.Customer)); }
public static List <ProviderEntity> ListTraders() { return(PartnerProvider.List(p => p.Trader)); }