public string ManufacturersUpdate(dynamic data) { string strResponse = ""; string strmanufacturers = data.manufacturersName; string strmanufacturersid = data.id; Manufacturers objManufacturers = new Manufacturers(); bool bResult = objManufacturers.ManufacturersUpdate(strmanufacturers, strmanufacturersid, ref strResponse); if (bResult) { strResponse = "Manufacturer updated successfully"; } else { strResponse = "Failed to updated Manufacturer"; } return(strResponse); }