public ActionResult Add(string InputText, string OutputText, string APIText) { if (InputText == null) { InputText = ""; } if (OutputText == null) { OutputText = ""; } var logModel = new LogModel(1, APIText, InputText, OutputText, DateTime.Now); SourceManager.AddLog(logModel); return(Content("test")); }