Primo sviluppo sincronizzazione e migliorie ui

This commit is contained in:
2025-05-19 16:47:21 +02:00
parent 6f08ba87be
commit 626408412b
66 changed files with 1824 additions and 91 deletions

View File

@@ -1,6 +1,6 @@
using Template.Shared.Interfaces;
using Template.Shared.Core.Interface;
namespace Template.Web.Services;
namespace Template.Web.Core.Services;
public class FormFactor : IFormFactor
{

View 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();
}
}

View File

@@ -1,6 +1,6 @@
using Template.Shared.Core.Interface;
namespace Template.Web.Services;
namespace Template.Web.Core.Services;
public class NetworkService : INetworkService
{

View 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();
}
}

View File

@@ -6,8 +6,7 @@ using MudBlazor.Services;
using Template.Shared.Components;
using Template.Shared.Core.Interface;
using Template.Shared.Core.Services;
using Template.Shared.Interfaces;
using Template.Web.Services;
using Template.Web.Core.Services;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
@@ -16,6 +15,9 @@ builder.Services.AddAuthorizationCore();
builder.Services.AddScoped<IFormFactor, FormFactor>();
builder.Services.AddScoped<INetworkService, NetworkService>();
builder.Services.AddScoped<IIntegryApiService, IntegryApiService>();
builder.Services.AddScoped<ISyncDbService, SyncDbService>();
builder.Services.AddScoped<IManageDataService, ManageDataService>();
builder.Services.AddScoped<AppAuthenticationStateProvider>();
builder.Services.AddScoped<AuthenticationStateProvider>(provider => provider.GetRequiredService<AppAuthenticationStateProvider>());

View File

@@ -18,6 +18,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Services\" />
<Folder Include="wwwroot\" />
</ItemGroup>