Update automapper
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
'use strict';
|
||||
|
||||
window.app.controller('EditProfileController',
|
||||
function($http, editProfileConfig, model) {
|
||||
function($http, model) {
|
||||
var vm = this;
|
||||
|
||||
vm.profile = model;
|
||||
@@ -13,7 +13,7 @@
|
||||
vm.errorMessage = null;
|
||||
vm.success = false;
|
||||
|
||||
$http.post(editProfileConfig.saveUrl, vm.profile)
|
||||
$http.post("/Profile/Update", vm.profile)
|
||||
.success(function() {
|
||||
vm.success = true;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user