public string AddHabitant(Habitant habitant, Flat flat, Entrace entrace1, Entrace entrace2, BlockOfFlats blockOfFlats) { return(habitant + " - " + blockOfFlats.ToString() + " - " + "Vchody: " + entrace1.ToString() + " - " + entrace2.ToString() + ", " + "Byt: " + flat.Tostring()); }
public string GetInfoAboutFlat(Habitant habitant, Flat flats) { return($"{habitant.ToString()} - {flats.Tostring()}"); }