Update automapper

This commit is contained in:
2016-09-24 00:06:34 -04:00
parent f473c64540
commit 6789c1b3b5
32 changed files with 254 additions and 206 deletions
+2 -14
View File
@@ -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>