Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update the error message to use tempData and not viewbag #10

@srkirkland

Description

@srkirkland

old code in layout:

        @if (!string.IsNullOrWhiteSpace(ViewBag.ErrorMessage)) { 
            <div id="error-message">
                @ViewBag.ErrorMessage
            </div>
          }

Change it over

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions