Update automapper
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
ViewBag.Title = "Your Profile";
|
||||
}
|
||||
|
||||
<h1 class="page-header">Update Your Profile</h1>
|
||||
<h1 class="page-header">Update @ViewBag.Title</h1>
|
||||
<form novalidate
|
||||
name="vm.form"
|
||||
ng-controller="EditProfileController as vm"
|
||||
@@ -35,16 +35,4 @@
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
@section Scripts
|
||||
{
|
||||
<script>
|
||||
var url = '@(Html.BuildUrlFromExpression<ProfileController>(c => c.Update(null)))';
|
||||
|
||||
window.app.constant('editProfileConfig', {
|
||||
saveUrl: url
|
||||
});
|
||||
|
||||
window.app.constant('model', @Html.JsonFor(Model));
|
||||
</script>
|
||||
}
|
||||
</form>
|
||||
Reference in New Issue
Block a user