public async Task <IEnumerable <DispatcherResource> > GetAllAsync() { var dispatcher = await _dispatcherService.ListAsync(); var resource = _mapper.Map <IEnumerable <Dispatcher>, IEnumerable <DispatcherResource> >(dispatcher); return(resource); }
public async Task <IEnumerable <DispatcherResource> > GetAllAsync() { var dispatcher = await _dispatcherService.ListAsync(); var resource = _mapper.Map <IEnumerable <Dispatcher>, IEnumerable <DispatcherResource> >(dispatcher); return(resource); }