Ejemplo n.º 1
0
 public ActionResult GetAllProduct(string Type)
 {
     using (PharmacyEntities dc = new PharmacyEntities()) {
         var result = dc.prGetProduct(Type).ToList();
         return(Json(result, JsonRequestBehavior.AllowGet));
     }
     return(Json("", JsonRequestBehavior.AllowGet));
 }