diff --git a/TIAM.Services/SignalRTags.cs b/TIAM.Services/SignalRTags.cs index cfa7d3c8..688b29da 100644 --- a/TIAM.Services/SignalRTags.cs +++ b/TIAM.Services/SignalRTags.cs @@ -6,25 +6,25 @@ namespace TIAM.Services; public class SignalRTags : AcSignalRTags { //[SignalMessageTag(null, typeof(SignalResponseMessage), null, null)] - public const int GetTransfersAsync = 5; - - public const int GetPropertiesByOwnerIdAsync = 6; - - [SignalMessageTag(typeof(SignalPostJsonDataMessage), typeof(SignalResponseMessage), null, null)] - public const int UpdateTransferAsync = 7; - public const int AddTransferAsync = 8; - public const int RemoveTransferAsync = 9; - public const int GetCompaniesAsync = 10; - public const int UpdateCompanyAsync = 11; - public const int AddCompanyAsync = 12; - public const int RemoveCompanyAsync = 13; - public const int GetTransferToDriversAsync = 14; - public const int AddTransferToDriversAsync = 15; - public const int UpdateTransferToDriversAsync = 16; - public const int RemoveTransferToDriversAsync = 17; - public const int GetAddressesByContextIdAsync = 18; - public const int AddAddressToContextIdAsync = 19; - public const int UpdateAddressByContextIdAsync = 20; - public const int RemoveAddressByContextIdAsync = 21; + public const int GetTransfers = 5; + public const int GetPropertiesByOwnerId = 6; + public const int UpdateTransfer = 7; + public const int AddTransfer = 8; + public const int RemoveTransfer = 9; + + public const int GetCompanies = 10; + public const int UpdateCompany = 11; + public const int AddCompany = 12; + public const int RemoveCompany = 13; + + public const int GetTransferToDrivers = 14; + public const int AddTransferToDrivers = 15; + public const int UpdateTransferToDrivers = 16; + public const int RemoveTransferToDrivers = 17; + + public const int GetAddressesByContextId = 18; + public const int AddAddressToContextId = 19; + public const int UpdateAddressByContextId = 20; + public const int RemoveAddressByContextId = 21; } \ No newline at end of file diff --git a/TIAMSharedUI/Shared/Components/Grids/AdressGrid.cs b/TIAMSharedUI/Shared/Components/Grids/AdressGrid.cs index b1fe32c4..dfb0e78e 100644 --- a/TIAMSharedUI/Shared/Components/Grids/AdressGrid.cs +++ b/TIAMSharedUI/Shared/Components/Grids/AdressGrid.cs @@ -11,10 +11,10 @@ public class AddressGrid : TiamGrid
{ GridName = nameof(Address); - GetAllMessageTag = SignalRTags.GetAddressesByContextIdAsync; - AddMessageTag = SignalRTags.AddAddressToContextIdAsync; - UpdateMessageTag = SignalRTags.UpdateAddressByContextIdAsync; - RemoveMessageTag = SignalRTags.RemoveAddressByContextIdAsync; + GetAllMessageTag = SignalRTags.GetAddressesByContextId; + AddMessageTag = SignalRTags.AddAddressToContextId; + UpdateMessageTag = SignalRTags.UpdateAddressByContextId; + RemoveMessageTag = SignalRTags.RemoveAddressByContextId; } protected override Task SetParametersAsyncCore(ParameterView parameters) diff --git a/TIAMSharedUI/Shared/Components/Grids/TransferToDriversGrid.cs b/TIAMSharedUI/Shared/Components/Grids/TransferToDriversGrid.cs index 7b87cb92..233741e7 100644 --- a/TIAMSharedUI/Shared/Components/Grids/TransferToDriversGrid.cs +++ b/TIAMSharedUI/Shared/Components/Grids/TransferToDriversGrid.cs @@ -10,10 +10,10 @@ public class TransferToDriversGrid : TiamGrid { GridName = nameof(TransferToDriver); - GetAllMessageTag = SignalRTags.GetTransferToDriversAsync; - AddMessageTag = SignalRTags.AddTransferToDriversAsync; - UpdateMessageTag = SignalRTags.UpdateTransferToDriversAsync; - RemoveMessageTag = SignalRTags.RemoveTransferToDriversAsync; + GetAllMessageTag = SignalRTags.GetTransferToDrivers; + AddMessageTag = SignalRTags.AddTransferToDrivers; + UpdateMessageTag = SignalRTags.UpdateTransferToDrivers; + RemoveMessageTag = SignalRTags.RemoveTransferToDrivers; } protected override Task SetParametersAsyncCore(ParameterView parameters)