public string ManufactureNameInsert(dynamic data) { string strResponse = ""; string strmanufactureName = data.manufactureName; Manufacturers objManu = new Manufacturers(); bool bResult = objManu.ManufacturenameInsert(strmanufactureName, ref strResponse); if (bResult) { strResponse = "Manufacture added successfully"; } else { strResponse = "Failed to add manufacture"; } return(strResponse); }