public override async Task RunAsync(ApplicationDeleteContext context) { await ExecuteNonQueryAsync(context, ctx => ctx.Response.ShortName); if (context.Response.Success) { Cache.Remove(context.Request.Id.ToString()); } }
public override void Run(ApplicationDeleteContext context) { ExecuteNonQuery(context, ctx => ctx.Response.ShortName); if (context.Response.Success) { Cache.Remove(context.Request.Id.ToString()); } }