public ActionResult <IEnumerable <CartReadDto> > GetAllItems() { var allItems = _repository.GetAllItems(); return(Ok(_mapper.Map <IEnumerable <CartReadDto> >(allItems))); }
public ActionResult <IEnumerable <CartReadDto> > GetAllItems() { var allItems = _repository.GetAllItems(); return(Ok(_mapper.Map <IEnumerable <CartReadDto> >(allItems))); }