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