public MashHostedService(IHubContext <MashHub> mashHubContext,
                          IMashService mashService)
 {
     MashHubContext = mashHubContext;
     MashService    = mashService;
 }
Exemplo n.º 2
0
 public async Task <MashModel> GetMashAsync([Service] IMashService mashService)
 {
     return(await mashService.GetMashAsync());
 }