public Process Post([FromBody] Process process) { if (ModelState.IsValid && process.ModuleId == _entityId) { process = _processes.AddProcess(process); _logger.Log(LogLevel.Information, this, LogFunction.Create, "Process Added {Process}", process); } return(process); }