Completata gestione allegati e riepilogo commessa

This commit is contained in:
2025-09-01 17:38:16 +02:00
parent 588dbe308a
commit 8be3fa9f9e
17 changed files with 341 additions and 60 deletions

View File

@@ -1,4 +1,5 @@
using salesbook.Shared.Core.Helpers;
using salesbook.Shared.Core.Dto;
using salesbook.Shared.Core.Helpers;
using salesbook.Shared.Core.Interface;
namespace salesbook.Maui.Core.Services;
@@ -7,7 +8,7 @@ public class SyncDbService(IIntegryApiService integryApiService, LocalDbService
{
public async Task GetAndSaveActivity(string? dateFilter)
{
var allActivity = await integryApiService.RetrieveActivity(dateFilter);
var allActivity = await integryApiService.RetrieveActivity(new CRMRetrieveActivityRequestDTO{DateFilter = dateFilter});
if (!allActivity.IsNullOrEmpty())
if (dateFilter is null)