Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="orderManage"></param>
 public OrderManageDetail(OrderManage orderManage)
 {
     OrderNumber       = orderManage.OrderNumber;
     ConsultNumber     = orderManage.ConsultNumber;
     ConsultID         = orderManage.ConsultID;
     ConsultType       = orderManage.ConsultType;
     ConsultantID      = orderManage.ConsultantID;
     ConsultantName    = orderManage.ConsultantName;
     PatientID         = orderManage.PatientID;
     PatientName       = orderManage.PatientName;
     DoctorName        = orderManage.DoctorName;
     DoctorID          = orderManage.DoctorID;
     OrderCurrency     = orderManage.OrderCurrency;
     OrderMoney        = orderManage.OrderMoney;
     ReceivablesType   = orderManage.ReceivablesType;
     ReceivablesNumber = orderManage.ReceivablesNumber;
     ServiceID         = orderManage.ServiceID;
     ServiceName       = orderManage.ServiceName;
     SellerMoneyID     = orderManage.SellerMoneyID;
     TradeType         = orderManage.TradeType;
     CreatedOn         = orderManage.CreatedOn;
     Id = orderManage.Id;
 }
 public async Task <OrderManage> DeleteOrderManage(OrderManage OrderManageInfo)
 {
     return(await _repository.UpdateAsync(OrderManageInfo));
 }
        public async Task <OrderManage> CreateOrderManage(OrderManage OrderManageInfo)
        {
            OrderManageInfo.Id = await _repository.InsertAndGetIdAsync(OrderManageInfo);

            return(OrderManageInfo);
        }