Rename salesbook
This commit is contained in:
15
salesbook.Web/Core/Services/FormFactor.cs
Normal file
15
salesbook.Web/Core/Services/FormFactor.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using salesbook.Shared.Core.Interface;
|
||||
|
||||
namespace salesbook.Web.Core.Services;
|
||||
|
||||
public class FormFactor : IFormFactor
|
||||
{
|
||||
public string GetFormFactor()
|
||||
{
|
||||
return "Web";
|
||||
}
|
||||
public string GetPlatform()
|
||||
{
|
||||
return Environment.OSVersion.ToString();
|
||||
}
|
||||
}
|
||||
39
salesbook.Web/Core/Services/ManageDataService.cs
Normal file
39
salesbook.Web/Core/Services/ManageDataService.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System.Linq.Expressions;
|
||||
using salesbook.Shared.Core.Dto;
|
||||
using salesbook.Shared.Core.Entity;
|
||||
using salesbook.Shared.Core.Interface;
|
||||
|
||||
namespace salesbook.Web.Core.Services;
|
||||
|
||||
public class ManageDataService : IManageDataService
|
||||
{
|
||||
public Task<List<T>> GetTable<T>(Expression<Func<T, bool>>? whereCond = null) where T : new()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<ActivityDTO>> GetActivity(Expression<Func<StbActivity, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task InsertOrUpdate<T>(T objectToSave)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task Delete<T>(T objectToDelete)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task DeleteActivity(ActivityDTO activity)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task ClearDb()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
12
salesbook.Web/Core/Services/NetworkService.cs
Normal file
12
salesbook.Web/Core/Services/NetworkService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using salesbook.Shared.Core.Interface;
|
||||
|
||||
namespace salesbook.Web.Core.Services;
|
||||
|
||||
public class NetworkService : INetworkService
|
||||
{
|
||||
public bool IsNetworkAvailable()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
31
salesbook.Web/Core/Services/SyncDbService.cs
Normal file
31
salesbook.Web/Core/Services/SyncDbService.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using salesbook.Shared.Core.Interface;
|
||||
|
||||
namespace salesbook.Web.Core.Services;
|
||||
|
||||
public class SyncDbService : ISyncDbService
|
||||
{
|
||||
public Task GetAndSaveActivity(string? dateFilter = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task GetAndSaveCommesse(string? dateFilter = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task GetAndSaveProspect(string? dateFilter = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task GetAndSaveClienti(string? dateFilter = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task GetAndSaveSettings(string? dateFilter = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user