правки

This commit is contained in:
Андрей Байгулов 2024-06-01 17:44:07 +04:00
parent e67ca87121
commit e14cb5037c
6 changed files with 13 additions and 9 deletions

View File

@ -6,6 +6,10 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SushiBarDataModels\SushiBarDataModels.csproj" /> <ProjectReference Include="..\SushiBarDataModels\SushiBarDataModels.csproj" />
</ItemGroup> </ItemGroup>

View File

@ -2,6 +2,7 @@
using SushiBarContracts.SearchModels; using SushiBarContracts.SearchModels;
using SushiBarContracts.StoragesContracts; using SushiBarContracts.StoragesContracts;
using SushiBarContracts.ViewModels; using SushiBarContracts.ViewModels;
using SushiBarDatabaseImplement.Models;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@ -1,5 +1,4 @@
using SushiBar.StoragesContracts; using SushiBarContracts.DI;
using SushiBarContracts.DI;
using SushiBarContracts.StoragesContracts; using SushiBarContracts.StoragesContracts;
using SushiBarDatabaseImplement.Implements; using SushiBarDatabaseImplement.Implements;
using System; using System;

View File

@ -2,12 +2,14 @@
using SushiBarContracts.SearchModels; using SushiBarContracts.SearchModels;
using SushiBarContracts.StoragesContracts; using SushiBarContracts.StoragesContracts;
using SushiBarContracts.ViewModels; using SushiBarContracts.ViewModels;
using SushiBarDataModels.Models;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace SushiBarDatabaseImplement namespace SushiBarDatabaseImplement
{ {
public class ImplementerStorage : IImplementerStorage public class ImplementerStorage : IImplementerStorage

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using SushiBarDatabaseImplement.Models; using SushiBarDatabaseImplement.Models;
using Microsoft.Extensions.Options; using SushiBarDataModels.Models;
namespace SushiBarDatabaseImplement namespace SushiBarDatabaseImplement
{ {
@ -27,7 +27,7 @@ namespace SushiBarDatabaseImplement
public virtual DbSet<Sushi> Sushis { set; get; } public virtual DbSet<Sushi> Sushis { set; get; }
public virtual DbSet<SushiComponent> SushiComponents { set; get; } public virtual DbSet<SushiComponent> SushiComponents { set; get; }
public virtual DbSet<Order> Orders { set; get; } public virtual DbSet<Order> Orders { set; get; }
public virtual DbSet<Client> Clients { get; set; } public virtual DbSet<Client> Clients { set; get; }
public virtual DbSet<Implementer> Implementers { set; get; } public virtual DbSet<Implementer> Implementers { set; get; }
public virtual DbSet<MessageInfo> MessageInfos { set; get; } public virtual DbSet<MessageInfo> MessageInfos { set; get; }
} }

View File

@ -1,7 +1,5 @@
using SushiBar.StoragesContracts; using SushiBarContracts.DI;
using SushiBarContracts.DI;
using SushiBarContracts.StoragesContracts; using SushiBarContracts.StoragesContracts;
using SushiBarFileImplement.Implements; using SushiBarFileImplement.Implements;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;