2b4cad4234
- Inserito filtro in offerte in base allo stato
43 lines
1000 B
C#
43 lines
1000 B
C#
namespace Lux.UI.Components.Compo.Contatti
|
|
{
|
|
public partial class CustomerEdit
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public CustomerModel? CurrRecord { get; set; } = null;
|
|
|
|
[Parameter]
|
|
public EventCallback<bool> EC_Close { get; set; }
|
|
|
|
[Parameter]
|
|
public EventCallback<CustomerModel> EC_Updated { get; set; }
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Private Properties
|
|
|
|
[Inject]
|
|
private IDataLayerServices DLService { get; set; } = null!;
|
|
|
|
[Inject]
|
|
private ICustomerService CService { get; set; } = null!;
|
|
|
|
#endregion Private Properties
|
|
|
|
#region Private Methods
|
|
|
|
private Task DoCancel()
|
|
{
|
|
return EC_Close.InvokeAsync(true);
|
|
}
|
|
|
|
private Task DoSave()
|
|
{
|
|
// richiede di effettuare salvataggio record...
|
|
return EC_Updated.InvokeAsync(CurrRecord);
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |