Primo sviluppo sincronizzazione e migliorie ui
This commit is contained in:
15
Template.Web/Core/Services/FormFactor.cs
Normal file
15
Template.Web/Core/Services/FormFactor.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Template.Shared.Core.Interface;
|
||||
|
||||
namespace Template.Web.Core.Services;
|
||||
|
||||
public class FormFactor : IFormFactor
|
||||
{
|
||||
public string GetFormFactor()
|
||||
{
|
||||
return "Web";
|
||||
}
|
||||
public string GetPlatform()
|
||||
{
|
||||
return Environment.OSVersion.ToString();
|
||||
}
|
||||
}
|
||||
49
Template.Web/Core/Services/ManageDataService.cs
Normal file
49
Template.Web/Core/Services/ManageDataService.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System.Linq.Expressions;
|
||||
using Template.Shared.Core.Dto;
|
||||
using Template.Shared.Core.Entity;
|
||||
using Template.Shared.Core.Interface;
|
||||
|
||||
namespace Template.Web.Core.Services;
|
||||
|
||||
public class ManageDataService : IManageDataService
|
||||
{
|
||||
public Task<List<AnagClie>> GetAnagClie(Expression<Func<AnagClie, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<JtbComt>> GetJtbComt(Expression<Func<JtbComt, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<PtbPros>> GetPtbPros(Expression<Func<PtbPros, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<PtbProsRif>> GetPtbProsRif(Expression<Func<PtbProsRif, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<StbActivity>> GetStbActivity(Expression<Func<StbActivity, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<VtbCliePersRif>> GetVtbCliePersRif(Expression<Func<VtbCliePersRif, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<VtbDest>> GetVtbDest(Expression<Func<VtbDest, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<List<ActivityDTO>> GetActivity(Expression<Func<StbActivity, bool>>? whereCond = null)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
12
Template.Web/Core/Services/NetworkService.cs
Normal file
12
Template.Web/Core/Services/NetworkService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Template.Shared.Core.Interface;
|
||||
|
||||
namespace Template.Web.Core.Services;
|
||||
|
||||
public class NetworkService : INetworkService
|
||||
{
|
||||
public bool IsNetworkAvailable()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
26
Template.Web/Core/Services/SyncDbService.cs
Normal file
26
Template.Web/Core/Services/SyncDbService.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Template.Shared.Core.Interface;
|
||||
|
||||
namespace Template.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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user