public async Task <JsonResult> DeleteGuid(Guid guid) { if (!await YummyOnlineManager.DeleteGuid(guid)) { return(Json(new JsonError())); } SystemTcpClient.SendSystemCommand(SystemCommandType.RefreshNewDineClients); await YummyOnlineManager.RecordLog(Log.LogProgram.System, Log.LogLevel.Warning, $"Guid {guid} Removed"); return(Json(new JsonSuccess())); }