Skip to content

Commit 88677d1

Browse files
committed
Fixed warning and removed test
1 parent 7adf303 commit 88677d1

File tree

5 files changed

+22
-43
lines changed

5 files changed

+22
-43
lines changed

LinkDotNet.Blog.IntegrationTests/Web/StartupTests.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Threading.Tasks;
2+
3+
namespace LinkDotNet.Blog.Web.Shared.Services
4+
{
5+
public interface ILocalStorageService
6+
{
7+
Task<bool> ContainKeyAsync(string key);
8+
9+
Task<T> GetItemAsync<T>(string key);
10+
11+
Task SetItemAsync<T>(string key, T value);
12+
}
13+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System.Threading.Tasks;
2+
3+
namespace LinkDotNet.Blog.Web.Shared.Services
4+
{
5+
public interface IUserRecordService
6+
{
7+
Task StoreUserRecordAsync();
8+
}
9+
}

LinkDotNet.Blog.Web/Shared/Services/LocalStorageService.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@
33

44
namespace LinkDotNet.Blog.Web.Shared.Services
55
{
6-
public interface ILocalStorageService
7-
{
8-
Task<bool> ContainKeyAsync(string key);
9-
10-
Task<T> GetItemAsync<T>(string key);
11-
12-
Task SetItemAsync<T>(string key, T value);
13-
}
14-
15-
166
public class LocalStorageService : ILocalStorageService
177
{
188
private readonly ProtectedLocalStorage localStorage;

LinkDotNet.Blog.Web/Shared/Services/UserRecordService.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
namespace LinkDotNet.Blog.Web.Shared.Services
1010
{
11-
public interface IUserRecordService
12-
{
13-
Task StoreUserRecordAsync();
14-
}
15-
1611
public class UserRecordService : IUserRecordService
1712
{
1813
private readonly IRepository<UserRecord> userRecordRepository;

0 commit comments

Comments
 (0)