/// <summary> /// After entering payment data we change the /// order state from 'during repair' to 'ended' /// </summary> /// <param name="o">Office object</param> /// <param name="pay">Payment object</param> public static void Get(ref Office o, Payment pay) { o.GetPayment(pay); Workshop.EndRepair(o); }