public async Task <List <BoxDto> > Handle(GetAllBoxesQuery request, CancellationToken cancellationToken) { var boxes = await _boxRepo.GetAllAsync(); return(await Task.FromResult(boxes.Select(b => new BoxDto(b.Id, b.BoxName, b.Notes)).ToList())); }