Web.Admin/Controllers/HistoryController.cs
Method Index
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ActionResult Index(string year)
{
var connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
using (var con = new SqlConnection(connectionString))