Ejemplo n.º 1
0
        public BaseViewModel <OrderWithOrderDetailViewModel> GetAllDetailByAdmin(Guid id, string include = null)
        {
            var currentUserID = new Guid(_orderDetaiRrepository.GetCurrentUserId());
            Expression <Func <OrderDetail, bool> > filter = _ => _.OrderId == id;

            return(GetOrderDetail(id, filter, include));
        }