Exemple #1
0
        public override string ToString()
        {
            int s = 15;

            return($"{PrescriptionId.ToString().PadLeft(s, ' ')} | " +
                   $"{PrescriptionSignature.PadLeft(s, ' ')} | " +
                   $"{PESEL.PadLeft(s, ' ')}");
        }
        public override string ToString()
        {
            int s = 20;

            return($"{OrderId.ToString().PadLeft(s, ' ')} | " +
                   $"{MedicineId.ToString().PadLeft(s, ' ')} | " +
                   $"{PrescriptionId.ToString().PadLeft(s, ' ')} | " +
                   $"{Date.ToString().PadLeft(s, ' ')} | " +
                   $"{Amount.ToString().PadLeft(s, ' ')} | " +
                   $"{CustomerId.ToString().PadLeft(s, ' ')}");
        }