public WareHouseViewModel Get(Guid id) { return(WareHouseViewMapper.DtoToViewModel(_queries.Get(id).Result)); }
public Task <WareHouseViewModel> Get(Guid id) { return(Task.FromResult(WareHouseViewMapper.DtoToViewModel(_queries.Get(id).Result))); }