public void DeleteCategory(int id) { using (DelightServiceClient service = new DelightServiceClient()) { service.DeleteCategory(id); } }