public override async Task <ShoppingListItemReply> AddShoppingListItem(AddShoppingListItemRequest request, ServerCallContext context)
        {
            var shoppingList = await _repository.Find(request.ShoppingListId);

            if (shoppingList == null)
            {
                throw new RpcException(new Status(StatusCode.NotFound, "Shopping list not found"));
            }

            shoppingList.Items.Add(new ShoppingListItem
            {
                Name   = request.Name,
                Amount = request.Amount,
                Unit   = (Domain.Unit)(int) request.Unit
            });

            await _repository.Save(shoppingList);

            return(AsReply(shoppingList.Items.LastOrDefault()));
        }
        public void GetTest()
        {
            var returnslis = _rep.Find();

            Assert.AreEqual(2, returnslis.Count());
        }