Skip to content

Commit 14bff4f

Browse files
committed
refactor(services): add Http namespace to Services
1 parent 2da045c commit 14bff4f

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Net.Http.Headers;
66
using System.Net.Http.Json;
77

8-
namespace Services
8+
namespace Services.Http
99
{
1010
public class HttpAppDataConnector : IHttpDataConnector<AppModel>
1111
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Net;
66
using System.Net.Http.Headers;
77

8-
namespace Services
8+
namespace Services.Http
99
{
1010
public class HttpCardDataConnector : IHttpDataConnector<CardModel>
1111
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Newtonsoft.Json;
22
using System.Net;
33

4-
namespace Services
4+
namespace Services.Http
55
{
66
public class HttpDatabaseManager
77
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Newtonsoft.Json;
66
using System.Net.Http.Headers;
77

8-
namespace Services
8+
namespace Services.Http
99
{
1010
public class HttpWebSiteDataConnector : IHttpDataConnector<WebSiteModel>
1111
{

ViewModels/ViewModels.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<Compile Remove="ViewModels\**" />
11+
<EmbeddedResource Remove="ViewModels\**" />
12+
<None Remove="ViewModels\**" />
13+
</ItemGroup>
14+
915
<ItemGroup>
1016
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
1117
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.5" />
@@ -19,8 +25,4 @@
1925
<ProjectReference Include="..\Services\Services.csproj" />
2026
</ItemGroup>
2127

22-
<ItemGroup>
23-
<Folder Include="ViewModels\" />
24-
</ItemGroup>
25-
2628
</Project>

Views/App.axaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
using Views.Services;
99
using Interfaces;
1010
using Services;
11+
using Services.Http;
1112
using Models;
1213
using ViewModels.CardViewModels;
1314
using ViewModels.AppViewModels;
1415
using ViewModels.WebSiteViewModels;
1516
using Serilog;
17+
using Interfaces;
1618

1719
namespace Views;
1820

0 commit comments

Comments
 (0)