/// <summary> /// Add process request results /// </summary> /// <param name="processRequestResults"></param> /// <returns></returns> public static ResponseStatus AddArgument(ProcessRequestResults processRequestResults) { ResponseStatus response = new ResponseStatus(); response = processRequestResults.Add(); return(response); }
public void AddOutputMessage(string outputMessage, string processName, string userID) { string msg = processName + ": " + DateTime.Now + ": " + userID + ": " + "Program.cs" + ": " + outputMessage; ProcessRequestResults prr = new ProcessRequestResults(); prr.FKRequestUID = this.processRequest.UID; prr.FKClientUID = this.processRequest.FKClientUID; prr.Type = ProcessRequestResults.TypeValue.INFORMATIONAL.ToString(); prr.Results = processName + " " + outputMessage; prr.Add(); Console.WriteLine(msg); LogFile.WriteToTodaysLogFile(what: outputMessage, userID: userID, messageCode: "", programName: "UIOutputMessage.cs", processname: processName); }