Exemple #1
0
 public ActionResult BlockedUser_Delete(DBlocked_User deleting)
 {
     string username = User.Identity.Name;
     HomeIndexViewModel model = new HomeIndexViewModel {
         emails = service.Email_GetByUser(username),
         blockedUsers = profiler.Blocked_User_Delete(deleting, username),
         friendedUsers = profiler.Friended_User_GetByUser(username),
         navSection = infastructure.PageStructure_GetBySelected(UrlPageIDs["~/friends"])
     };
     return View("Friends", model);
 }
Exemple #2
0
 public ActionResult BlockedUser_Update(DBlocked_User updating)
 {
     return View("Index");
 }
 public ActionResult BlockedUser_Delete(DBlocked_User deleting)
 {
     service.Blocked_User_Delete(deleting, User.Identity.Name);
     return(View("Index"));
 }
 public ActionResult BlockedUser_Create(DBlocked_User creating)
 {
     service.Blocked_User_Create(creating, User.Identity.Name);
     return(View("Index"));
 }