public bool DeleteTolerance(int id)
{
string sql = "DELETE FROM [TOLERANCE] WHERE [Tolerance_Id] = @Tolerance_Id";
var param = new Dictionary<string, object>();
param.Clear();
param.Add("@Tolerance_Id", id);
var result = DBContext.ExecuteQueryTable(sql, param);
if (result != null)
return true;
return false;
}