Ejemplo n.º 1
0
 public ActionResult MyMaps()
 {
     try
     {
         var      id   = User.Identity.GetUserId();
         ObjectId oId  = new ObjectId(id);
         var      maps = _mapManager.GetMapsByCreatorId(oId);
         return(PartialView("_MyMapsView", maps));
     }
     catch (Exception)
     {
         return(RedirectToAction("Index", "Home"));
     }
 }