<commit_before>﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Linq;
using DotNetNuke.Collections;
using DotNetNuke.Data;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Search;
using R7.University;
using DotNetNuke.Entities.Tabs;

namespace R7.University
{
	public abstract class ControllerBase : ModuleSearchBase
	{
		#region Common methods

		/// <summary>
		/// Initializes a new instance of the <see cref="Launchpad.LaunchpadController"/> class.
		/// </summary>
		public ControllerBase ()
		{ 

		}

		/// <summary>
		/// Adds a new T object into the database
		/// </summary>
		/// <param name='info'></param>
		public void Add<T> (T info) where T: class
		{
			using (var ctx = DataContext.Instance ())<commit_msg>Remove empty default cstor<commit_after>﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Linq;
using DotNetNuke.Collections;
using DotNetNuke.Data;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Search;
using R7.University;
using DotNetNuke.Entities.Tabs;

namespace R7.University
{
	public abstract class ControllerBase : ModuleSearchBase
	{
		#region Common methods

		/// <summary>
		/// Adds a new T object into the database
		/// </summary>
		/// <param name='info'></param>
		public void Add<T> (T info) where T: class
		{
			using (var ctx = DataContext.Instance ())
{'fraction_non_alphanumeric': 0.116263879817113, 'fraction_numerical': 0.002612671456564337, 'mean_word_length': 4.158249158249158, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3619028', 'n_tokens_mistral': 532, 'n_tokens_neox': 485, 'n_words': 136}