Null check for actionExecutedContext.Response.

actionExecutedContext.Response is null when error occurs during action execution.
VS formatting