public ActionResult RemovePersonalPlant(int id) { bool check = service.RemovePersonalPlant(id); return(Json(new { success = check, message = "Plant removed successfully" }, JsonRequestBehavior.AllowGet)); }
public ActionResult RemovePersonalPlant(int id) { bool check = service.RemovePersonalPlant(id); return(Json(new { success = check, message = "Plant removed successfully" }, JsonRequestBehavior.AllowGet)); }