internal static string GetBillPaymemtMode() { var billPaymentMode = UserInputGathering.GetStringInput("Enter Bill Payment Mode"); if (!UserInputValidation.IsValidString(billPaymentMode)) { throw new InvalidOperationException(" "); } return(billPaymentMode); }
/// <summary> /// This method accepts and validates the String Input /// </summary> /// <returns>Returns the String inputted by User</returns> internal static string GetUserInputString() { var userInputString = UserInputGathering.GetStringInput(); if (!UserInputValidation.IsValidString(userInputString)) { throw new InvalidOperationException(" "); } return(userInputString); }
internal static string GetCustomerName() { var customerName = UserInputGathering.GetStringInput("Enter Customer Name"); if (!UserInputValidation.IsValidString(customerName)) { throw new InvalidOperationException(" "); } return(customerName); }