public List <OrderdetalTMP> GetAllOrderDetail()
 {
     return(orDe.GetAllOrderDetail());
 }
 public IEnumerable <OrderDetail> GetAllUserOrderDetails(int userId)
 {
     return(_orderDetailDal.GetAllOrderDetail()
            .Where(x => x.SenderId == userId || x.ReceiverId == userId)
            .OrderByDescending(x => x.OrderNumber));
 }