public string GetClientName(int clientId) { if (clientId == 0 | clientId == -1) { return("Ошибка заполнения клиента."); } var clientName = SqlQueryBuilder.SelectClientName(clientId, DBConnection); return(clientName.ExecuteScalar().ToString()); }