public static int GetCountChannelComments(int channelId) { using (RentItServiceClient proxy = new RentItServiceClient()) { return proxy.GetCountChannelComments(channelId); } }