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