private static async void SendInspectionTrack(TModel.Location.Work.InspectionTrackList it) { IHubContext chatHubContext = GlobalHost.ConnectionManager.GetHubContext <InspectionTrackHub>(); await chatHubContext.Clients.All.GetInspectionTrack(it); }
public static void SendInspectionTracks(TModel.Location.Work.InspectionTrackList it) { SendInspectionTrack(it); }