public int UpdateProduct(MedicineModel medicine) { int result = 0; PractitionerData dataLayer = new PractitionerData(); result = dataLayer.UpdateProduct(medicine); return(result); }