Iniziata creazione pagina contatti
This commit is contained in:
@@ -34,7 +34,7 @@ public class AnagClie
|
||||
public string Nazione { get; set; }
|
||||
|
||||
[Column("telefono"), JsonPropertyName("telefono")]
|
||||
public string Telefono { get; set; }
|
||||
public string? Telefono { get; set; }
|
||||
|
||||
[Column("fax"), JsonPropertyName("fax")]
|
||||
public string Fax { get; set; }
|
||||
@@ -52,7 +52,7 @@ public class AnagClie
|
||||
public string PersonaRif { get; set; }
|
||||
|
||||
[Column("e_mail"), JsonPropertyName("eMail")]
|
||||
public string EMail { get; set; }
|
||||
public string? EMail { get; set; }
|
||||
|
||||
[Column("e_mail_pec"), JsonPropertyName("eMailPec")]
|
||||
public string EMailPec { get; set; }
|
||||
@@ -80,4 +80,7 @@ public class AnagClie
|
||||
|
||||
[Column("data_mod"), JsonPropertyName("dataMod")]
|
||||
public DateTime? DataMod { get; set; } = DateTime.Now;
|
||||
|
||||
[Column("flag_stato"), JsonPropertyName("flagStato")]
|
||||
public string FlagStato { get; set; }
|
||||
}
|
||||
@@ -16,19 +16,19 @@ public class VtbCliePersRif
|
||||
public string PersonaRif { get; set; }
|
||||
|
||||
[Column("mansione"), JsonPropertyName("mansione")]
|
||||
public string Mansione { get; set; }
|
||||
public string? Mansione { get; set; }
|
||||
|
||||
[Column("telefono"), JsonPropertyName("telefono")]
|
||||
public string Telefono { get; set; }
|
||||
public string? Telefono { get; set; }
|
||||
|
||||
[Column("fax"), JsonPropertyName("fax")]
|
||||
public string Fax { get; set; }
|
||||
|
||||
[Column("e_mail"), JsonPropertyName("eMail")]
|
||||
public string EMail { get; set; }
|
||||
public string? EMail { get; set; }
|
||||
|
||||
[Column("num_cellulare"), JsonPropertyName("numCellulare")]
|
||||
public string NumCellulare { get; set; }
|
||||
public string? NumCellulare { get; set; }
|
||||
|
||||
[Column("tipo_indirizzo"), JsonPropertyName("tipoIndirizzo")]
|
||||
public string TipoIndirizzo { get; set; }
|
||||
|
||||
@@ -11,5 +11,5 @@ public interface IIntegryApiService
|
||||
Task<TaskSyncResponseDTO> RetrieveProspect(string? dateFilter = null);
|
||||
Task<SettingsResponseDTO> RetrieveSettings();
|
||||
|
||||
Task<StbActivity?> SaveActivity(ActivityDTO activity);
|
||||
Task<List<StbActivity>?> SaveActivity(ActivityDTO activity);
|
||||
}
|
||||
@@ -24,7 +24,7 @@ public class AppAuthenticationStateProvider : AuthenticationStateProvider
|
||||
return await LoadAuthenticationState();
|
||||
}
|
||||
|
||||
public async void SignOut()
|
||||
public async Task SignOut()
|
||||
{
|
||||
await _userAccountService.Logout();
|
||||
NotifyAuthenticationState();
|
||||
|
||||
@@ -55,6 +55,6 @@ public class IntegryApiService(IIntegryApiRestClient integryApiRestClient, IUser
|
||||
public Task<SettingsResponseDTO> RetrieveSettings() =>
|
||||
integryApiRestClient.AuthorizedGet<SettingsResponseDTO>("crm/retrieveSettings", null)!;
|
||||
|
||||
public Task<StbActivity?> SaveActivity(ActivityDTO activity) =>
|
||||
integryApiRestClient.AuthorizedPost<StbActivity?>("crm/saveActivity", activity);
|
||||
public Task<List<StbActivity>?> SaveActivity(ActivityDTO activity) =>
|
||||
integryApiRestClient.AuthorizedPost<List<StbActivity>?>("crm/saveActivity", activity);
|
||||
}
|
||||
@@ -6,6 +6,7 @@ public static class UtilityString
|
||||
{
|
||||
return string.Concat(fullname
|
||||
.Split(' ', StringSplitOptions.RemoveEmptyEntries)
|
||||
.Take(3)
|
||||
.Select(word => char.ToUpper(word[0])));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user