Browse Source

got rid of a bunch of unecessary usings

master
Lynne Megido 1 month ago
parent
commit
6d44b579d2
Signed by: lynnesbian GPG Key ID: F0A184B5213D9F90
9 changed files with 5 additions and 15 deletions
  1. +0
    -2
      Controllers/DocumentController.cs
  2. +0
    -1
      Data/SnootalogueContext.cs
  3. +0
    -1
      Models/Document.cs
  4. +0
    -3
      Pages/Documents/Details.cshtml.cs
  5. +0
    -2
      Pages/Documents/Edit.cshtml.cs
  6. +0
    -3
      Pages/Index.cshtml.cs
  7. +0
    -1
      Program.cs
  8. +0
    -1
      ViewModels/EditDocument.cs
  9. +5
    -1
      appsettings.Development.json

+ 0
- 2
Controllers/DocumentController.cs View File

@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Snootalogue.Models;

+ 0
- 1
Data/SnootalogueContext.cs View File

@ -4,7 +4,6 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Snootalogue.Models;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Collections.Generic;
namespace Snootalogue.Data {

+ 0
- 1
Models/Document.cs View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Snootalogue.Models {
public class Document {

+ 0
- 3
Pages/Documents/Details.cshtml.cs View File

@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

+ 0
- 2
Pages/Documents/Edit.cshtml.cs View File

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

+ 0
- 3
Pages/Index.cshtml.cs View File

@ -1,10 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Snootalogue.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Snootalogue.Data;

+ 0
- 1
Program.cs View File

@ -19,7 +19,6 @@ along with this program. If not, see .
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Snootalogue.Models;
using System;

+ 0
- 1
ViewModels/EditDocument.cs View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// a version of the Document model designed for user editing

+ 5
- 1
appsettings.Development.json View File

@ -5,5 +5,9 @@
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"SnootalogueContext": "Data Source=Snootalogue.db"
}
}
}

Loading…
Cancel
Save