Gestite schede nella pagina ispezione e migliorie grafiche
This commit is contained in:
13
SteUp.Shared/Core/Messages/Scheda/NewSchedaService.cs
Normal file
13
SteUp.Shared/Core/Messages/Scheda/NewSchedaService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using CommunityToolkit.Mvvm.Messaging;
|
||||
|
||||
namespace SteUp.Shared.Core.Messages.Scheda;
|
||||
|
||||
public class NewSchedaService
|
||||
{
|
||||
public event Action? OnNewScheda;
|
||||
|
||||
public NewSchedaService(IMessenger messenger)
|
||||
{
|
||||
messenger.Register<NewSchedaMessage>(this, (_, _) => { OnNewScheda?.Invoke(); });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user