Skip to content

Commit 40ef52e

Browse files
authored
Merge pull request #24 from Feazom/dev
fix markers
2 parents 9a21634 + 7899fdf commit 40ef52e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+367
-414
lines changed

UrfuMaps.Api.Test/Repositories/EdgeRepositoryMock.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using System.Threading.Tasks;
65
using UrfuMaps.Api.Models;
76
using UrfuMaps.Api.Repositories;

UrfuMaps.Api.Test/Repositories/FloorRepositoryMock.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using System.Threading.Tasks;
65
using UrfuMaps.Api.Models;
76
using UrfuMaps.Api.Repositories;

UrfuMaps.Api.Test/Repositories/PositionRepositoryMock.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using System.Threading.Tasks;
65
using UrfuMaps.Api.Models;
76
using UrfuMaps.Api.Repositories;

UrfuMaps.Api.Test/Repositories/TypeRepositoryMock.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
53
using System.Threading.Tasks;
64
using UrfuMaps.Api.Repositories;
75

UrfuMaps.Api.Test/Repositories/UserRepositoryMock.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using System.Threading.Tasks;
65
using UrfuMaps.Api.Models;
76
using UrfuMaps.Api.Repositories;

UrfuMaps.Api.Test/Services/MapServiceTest.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
using Microsoft.EntityFrameworkCore;
21
using NUnit.Framework;
3-
using System;
42
using System.Collections.Generic;
53
using System.Linq;
64
using System.Threading.Tasks;
7-
using UrfuMaps.Api;
85
using UrfuMaps.Api.Models;
9-
using UrfuMaps.Api.Repositories;
106
using UrfuMaps.Api.Services;
117
using UrfuMaps.Api.Test.Repositories;
128

139
namespace UrfuMaps.Api.Test.Services
1410
{
1511
public class MapServiceTest
1612
{
17-
private IMapService _mapService;
13+
private IFloorService _mapService;
1814
private FloorRepositoryMock _floors;
1915
private TypeRepositoryMock _types;
2016
private PositionRepositoryMock _positions;

UrfuMaps.Api.Test/Services/UserServiceTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Microsoft.EntityFrameworkCore;
22
using NUnit.Framework;
3-
using UrfuMaps.Api;
43

54
namespace UrfuMaps.Api.Test.Services
65
{

UrfuMaps.Api/Controllers/FloorController.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
using Microsoft.AspNetCore.Authorization;
2-
using Microsoft.AspNetCore.Http;
32
using Microsoft.AspNetCore.Mvc;
43
using System;
54
using System.ComponentModel.DataAnnotations;
6-
using System.IO;
75
using System.Threading.Tasks;
86
using UrfuMaps.Api.Models;
97
using UrfuMaps.Api.Services;
@@ -15,9 +13,9 @@ namespace UrfuMaps.Api.Controllers
1513
[Produces("application/json")]
1614
public class FloorController : ControllerBase
1715
{
18-
private readonly IMapService _mapService;
16+
private readonly IFloorService _mapService;
1917

20-
public FloorController(IMapService mapService)
18+
public FloorController(IFloorService mapService)
2119
{
2220
_mapService = mapService;
2321
}

UrfuMaps.Api/Controllers/PositionController.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using Microsoft.AspNetCore.Mvc;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
52
using System.Threading.Tasks;
63
using UrfuMaps.Api.Models;
74
using UrfuMaps.Api.Services;
@@ -11,7 +8,7 @@ namespace UrfuMaps.Api.Controllers
118
[ApiController]
129
[Route("/position")]
1310
[Produces("application/json")]
14-
public class PositionController: ControllerBase
11+
public class PositionController : ControllerBase
1512
{
1613
private readonly IPositionService _positionService;
1714

UrfuMaps.Api/Models/CreateResult.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
6-
namespace UrfuMaps.Api.Models
1+
namespace UrfuMaps.Api.Models
72
{
83
public enum CreateResult
94
{

0 commit comments

Comments
 (0)