Skip to content

Commit

Permalink
fix: model namespace (#51)
Browse files Browse the repository at this point in the history
* fix: model namespace

* fix: namespace
  • Loading branch information
eugbyte authored Oct 12, 2024
1 parent eec79cf commit 03d32d8
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Configs/AppDbContext.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Configs;

Expand Down
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Controllers/GeohubsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.AspNetCore.SignalR;
using Newtonsoft.Json;
using StoreOnWheels.Server.Domains.Interfaces;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Controllers;

Expand Down
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Controllers/VendorsController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Caching;
using Microsoft.AspNetCore.Mvc;
using StoreOnWheels.Server.Domains.Interfaces;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Controllers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Domains.Interfaces;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace StoreOnWheels.Server.Libs.Shared.Models;
namespace StoreOnWheels.Server.Domains.Models;

public class GeolocationCoordinate {
public float Latitude { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;

namespace StoreOnWheels.Server.Libs.Shared.Models;
namespace StoreOnWheels.Server.Domains.Models;

public class GeolocationPosition {
public string VendorId { get; set; } = "";
Expand Down
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Domains/Models/Vendor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;

namespace StoreOnWheels.Server.Libs.Shared.Models;
namespace StoreOnWheels.Server.Domains.Models;

[Index(nameof(DisplayName), IsUnique = true)]
public class Vendor {
Expand Down
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using StoreOnWheels.Server.Configs;
using StoreOnWheels.Server.Controllers;
using StoreOnWheels.Server.Domains.Interfaces;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;
using StoreOnWheels.Server.Services;
using StoreOnWheels.Server.Services.BackgroundServices;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.SignalR;
using StoreOnWheels.Server.Controllers;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Services.BackgroundServices;

Expand Down
2 changes: 1 addition & 1 deletion src/StoreOnWheels.Server/Services/VendorService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using StoreOnWheels.Server.Configs;
using StoreOnWheels.Server.Domains.Interfaces;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;

namespace StoreOnWheels.Server.Services;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.SignalR.Client;
using Newtonsoft.Json;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;
using Xunit.Abstractions;

namespace StoreOnWheels.Server.Test.Integration.Controllers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc.Testing;
using Newtonsoft.Json;
using StoreOnWheels.Server.Libs.Shared.Models;
using StoreOnWheels.Server.Domains.Models;
using System.Net;
using System.Net.Http.Json;
using Xunit.Abstractions;
Expand Down

0 comments on commit 03d32d8

Please sign in to comment.