public ns2SoftwareTyp ToElbaData() { ns2SoftwareTyp elbaSoftware = new ns2SoftwareTyp { Name = Name, ID = Id, Version = Version, Hersteller = Manufacturer }; return(elbaSoftware); }
private bool SoftwareHasEmptyFields(ns2SoftwareTyp software) { return(string.IsNullOrEmpty(software.ID) || string.IsNullOrEmpty(software.Name) || string.IsNullOrEmpty(software.Version) || string.IsNullOrEmpty(software.Hersteller)); }