diff --git a/AsbCloudWebApi/Controllers/ProcessMapController.cs b/AsbCloudWebApi/Controllers/ProcessMapController.cs index e97e954b..89ce8cd5 100644 --- a/AsbCloudWebApi/Controllers/ProcessMapController.cs +++ b/AsbCloudWebApi/Controllers/ProcessMapController.cs @@ -141,8 +141,7 @@ namespace AsbCloudWebApi.Controllers { value.IdUser = User.GetUserId() ?? -1; var result = await base.InsertAsync(value, token); - if (result.Value > 0) - await NotifyUsersBySignalR(value.IdWell, token); + await NotifyUsersBySignalR(value.IdWell, token); return result; } @@ -157,8 +156,7 @@ namespace AsbCloudWebApi.Controllers { value.IdUser = User.GetUserId() ?? -1; var result = await base.UpdateAsync(value, token); - if (result.Value > 0) - await NotifyUsersBySignalR(value.IdWell, token); + await NotifyUsersBySignalR(value.IdWell, token); return result; }