Ejemplo n.º 1
0
        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()));
        }