public JsonResult GetStatus(models.objectId statusId)
        {
            tiendaEntities db         = new tiendaEntities();
            var            prodsBySta = db.productos.Where(x => x.status == statusId.id).ToList();

            return(Json(prodsBySta));
        }
        public JsonResult GetCategory(models.objectId categoryId)
        {
            tiendaEntities db         = new tiendaEntities();
            var            prodsByCat = db.productos.Where(x => x.categoryid == categoryId.id).ToList();

            return(Json(prodsByCat));
        }
        // GET: Productos/Details/5
        public JsonResult Get(models.objectId prodId)
        {
            var prod = db.productos.FirstOrDefault(x => x.id == prodId.id);

            return(Json(prod));
        }