Browse Source

removing unused code

main
Steve Smith 9 years ago
parent
commit
d48d8bf24d
  1. 2
      src/Web/Controllers/CatalogController.cs
  2. 1
      src/Web/Startup.cs

2
src/Web/Controllers/CatalogController.cs

@ -6,8 +6,6 @@ using System;
using System.IO; using System.IO;
using System.Threading.Tasks; using System.Threading.Tasks;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Microsoft.eShopWeb.Controllers namespace Microsoft.eShopWeb.Controllers
{ {
public class CatalogController : Controller public class CatalogController : Controller

1
src/Web/Startup.cs

@ -33,7 +33,6 @@ namespace Microsoft.eShopWeb
{ {
try try
{ {
var text = Configuration["ConnectionString"];
c.UseSqlServer(Configuration["ConnectionString"]); c.UseSqlServer(Configuration["ConnectionString"]);
c.ConfigureWarnings(wb => c.ConfigureWarnings(wb =>
{ {

Loading…
Cancel
Save