private string GetInvestorType(EInvestorType investorType) { switch (investorType) { case EInvestorType.Company: return("działalność gospodarczą"); case EInvestorType.Farmer: return("działalność rolniczą"); case EInvestorType.Fisherman: return("działalność w zakresie rybołóstwa i akwakultury"); default: return("......................"); } }
private static string GetCompanyDetails(EInvestorType investorType) { switch (investorType) { case EInvestorType.Company: return("działalność gospodarcza"); case EInvestorType.Farmer: return("działalność rolnicza"); case EInvestorType.Fisherman: return("działalność w zakresie rybołóstwa i akwakultury"); case EInvestorType.PrivateIndividual: return("osoba prywatna"); default: return(string.Empty); } }