public async Task <string> UpdatePlateNo(string id, string plateno) { SqlCommand cmd = new SqlCommand(); cmd.CommandText = "[dbo].[spUpdatePlateNo]"; cmd.Parameters.AddWithValue("@Id", id); cmd.Parameters.AddWithValue("@PlateNo", plateno); var result = await SCObjects.ExecNonQueryAsync(cmd, Properties.Settings.Default.UserConnectionString); return(result); }