Resharper cleanup and fixes and remove useless asp overhead
This commit is contained in:
parent
e0d6a97dca
commit
acb2b25e09
44 changed files with 54 additions and 81 deletions
|
@ -1,5 +1,4 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Geekbot.net.Database
|
||||
{
|
||||
|
@ -13,6 +12,6 @@ namespace Geekbot.net.Database
|
|||
}
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
=> optionsBuilder.UseInMemoryDatabase(databaseName: _name);
|
||||
=> optionsBuilder.UseInMemoryDatabase(_name);
|
||||
}
|
||||
}
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Geekbot.net.Database.Models
|
||||
|
|
|
@ -8,7 +8,6 @@ using Geekbot.net.Commands.Utils.Quote;
|
|||
using Geekbot.net.Database.Models;
|
||||
using Geekbot.net.Lib.Extensions;
|
||||
using Geekbot.net.Lib.Logger;
|
||||
using MtgApiManager.Lib.Model;
|
||||
using Newtonsoft.Json;
|
||||
using StackExchange.Redis;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue