Ejemplo n.º 1
0
        public ActionResult Update(DUser_Profile updating)
        {
            HomeIndexViewModel model = new HomeIndexViewModel {
                avatars    = service.Avatar_GetList(),
                profile    = service.Profile_Update(updating, User.Identity.Name),
                navSection = infastructure.PageStructure_GetBySelected(35)
            };

            return(View(model));
        }
Ejemplo n.º 2
0
        public ActionResult UserProfile_Create(DUser_Profile creating, string returnView = "Index")
        {
            string returnUrl = returnView.Equals("Index") ?
                               "http://www.jonathan-burrows.com/profile/home" :
                               "http://www.jonathan-burrows.com/profile/Update";

            HomeIndexViewModel model = new HomeIndexViewModel {
                avatars    = service.Avatar_GetList(),
                profile    = service.Profile_Create(creating, User.Identity.Name),
                navSection = infastructure.PageStructure_GetBySelected(35)
            };

            return(View(returnView, model));
        }
Ejemplo n.º 3
0
 public ActionResult UserProfile_Update(DUser_Profile updating)
 {
     return(View("Index"));
 }
Ejemplo n.º 4
0
 public ActionResult UserProfile_Delete(DUser_Profile deleting)
 {
     return(View("Index"));
 }