public int CreateProduct(MedicineModel newMedicine) { int result = 0; if (newMedicine != null) { PractitionerBusiness businessLayer = new PractitionerBusiness(); result = businessLayer.CreateProduct(newMedicine); } return(result); }
public int CreateProduct(MedicineModel newMedicine) { int result = 0; if (newMedicine != null) { PractitionerBusiness businessLayer = new PractitionerBusiness(); result = businessLayer.CreateProduct(newMedicine); } return(result); }