ProcessMapController fix SignalR

This commit is contained in:
ngfrolov 2023-05-31 15:58:30 +05:00
parent 6b14ea9a4d
commit c7021f3292
Signed by untrusted user who does not match committer: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -141,7 +141,6 @@ namespace AsbCloudWebApi.Controllers
{
value.IdUser = User.GetUserId() ?? -1;
var result = await base.InsertAsync(value, token);
if (result.Value > 0)
await NotifyUsersBySignalR(value.IdWell, token);
return result;
}
@ -157,7 +156,6 @@ namespace AsbCloudWebApi.Controllers
{
value.IdUser = User.GetUserId() ?? -1;
var result = await base.UpdateAsync(value, token);
if (result.Value > 0)
await NotifyUsersBySignalR(value.IdWell, token);
return result;
}