CS2-3: Добавлен метод в интерфейс IReportHubClient

This commit is contained in:
KharchenkoVV 2021-05-20 14:50:00 +05:00
parent 1358f7fc11
commit c2f1338785
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace AsbCloudWebApi.Controllers
} }
private void HandleReportProgress (float progress, string operation, int id) => private void HandleReportProgress (float progress, string operation, int id) =>
reportsHubContext.Clients.Group($"Report{id}").SendAsync("GetReportProgress", progress); reportsHubContext.Clients.Group($"Report{id}").SendAsync(nameof(IReportHubClient.GetReportProgress), progress);
/// <summary> /// <summary>

View File

@ -2,6 +2,6 @@
{ {
public interface IReportHubClient public interface IReportHubClient
{ {
float GetReportProgress();
} }
} }