diff --git a/SushiBar/SushiBarContracts/SushiBarContracts.csproj b/SushiBar/SushiBarContracts/SushiBarContracts.csproj index 22d1530..8c2ded0 100644 --- a/SushiBar/SushiBarContracts/SushiBarContracts.csproj +++ b/SushiBar/SushiBarContracts/SushiBarContracts.csproj @@ -6,6 +6,10 @@ enable + + + + diff --git a/SushiBar/SushiBarDatabaseImplement/ClientStorage.cs b/SushiBar/SushiBarDatabaseImplement/ClientStorage.cs index 4b411ad..e890fb7 100644 --- a/SushiBar/SushiBarDatabaseImplement/ClientStorage.cs +++ b/SushiBar/SushiBarDatabaseImplement/ClientStorage.cs @@ -2,6 +2,7 @@ using SushiBarContracts.SearchModels; using SushiBarContracts.StoragesContracts; using SushiBarContracts.ViewModels; +using SushiBarDatabaseImplement.Models; using System; using System.Collections.Generic; using System.Linq; diff --git a/SushiBar/SushiBarDatabaseImplement/ImplementationExtension.cs b/SushiBar/SushiBarDatabaseImplement/ImplementationExtension.cs index ca818f5..1ef1726 100644 --- a/SushiBar/SushiBarDatabaseImplement/ImplementationExtension.cs +++ b/SushiBar/SushiBarDatabaseImplement/ImplementationExtension.cs @@ -1,5 +1,4 @@ -using SushiBar.StoragesContracts; -using SushiBarContracts.DI; +using SushiBarContracts.DI; using SushiBarContracts.StoragesContracts; using SushiBarDatabaseImplement.Implements; using System; diff --git a/SushiBar/SushiBarDatabaseImplement/ImplementerStorage.cs b/SushiBar/SushiBarDatabaseImplement/ImplementerStorage.cs index 930d87c..47b0f34 100644 --- a/SushiBar/SushiBarDatabaseImplement/ImplementerStorage.cs +++ b/SushiBar/SushiBarDatabaseImplement/ImplementerStorage.cs @@ -2,12 +2,14 @@ using SushiBarContracts.SearchModels; using SushiBarContracts.StoragesContracts; using SushiBarContracts.ViewModels; +using SushiBarDataModels.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; + namespace SushiBarDatabaseImplement { public class ImplementerStorage : IImplementerStorage diff --git a/SushiBar/SushiBarDatabaseImplement/SushiBarDatabase.cs b/SushiBar/SushiBarDatabaseImplement/SushiBarDatabase.cs index b9db94a..a8b920a 100644 --- a/SushiBar/SushiBarDatabaseImplement/SushiBarDatabase.cs +++ b/SushiBar/SushiBarDatabaseImplement/SushiBarDatabase.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using SushiBarDatabaseImplement.Models; -using Microsoft.Extensions.Options; +using SushiBarDataModels.Models; namespace SushiBarDatabaseImplement { @@ -23,12 +23,12 @@ namespace SushiBarDatabaseImplement AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true); AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true); } - public virtual DbSet Components { set; get; } + public virtual DbSet Components { set; get; } public virtual DbSet Sushis { set; get; } public virtual DbSet SushiComponents { set; get; } public virtual DbSet Orders { set; get; } - public virtual DbSet Clients { get; set; } - public virtual DbSet Implementers { set; get; } + public virtual DbSet Clients { set; get; } + public virtual DbSet Implementers { set; get; } public virtual DbSet MessageInfos { set; get; } } } \ No newline at end of file diff --git a/SushiBar/SushiBarFileImplement/ImplementationExtension.cs b/SushiBar/SushiBarFileImplement/ImplementationExtension.cs index 80a1933..d4068f5 100644 --- a/SushiBar/SushiBarFileImplement/ImplementationExtension.cs +++ b/SushiBar/SushiBarFileImplement/ImplementationExtension.cs @@ -1,7 +1,5 @@ -using SushiBar.StoragesContracts; -using SushiBarContracts.DI; +using SushiBarContracts.DI; using SushiBarContracts.StoragesContracts; - using SushiBarFileImplement.Implements; using System; using System.Collections.Generic;