public JsonResult Get(int TagId, string Nombre) { var lPerfil = TagDAO.Get(TagId, Nombre); return(new JsonResult() { JsonRequestBehavior = JsonRequestBehavior.AllowGet, Data = new { Datos = lPerfil } }); }
/// <summary> /// /// </summary> /// <param name="_tagGuid"></param> /// <returns></returns> public Tag GetTag(Guid _tagGuid) { TagDAO dao = new TagDAO(MongoDB); return(dao.Get(_tagGuid)); }