Exemple #1
0
 public async Task <OrderTradeRecord> DeleteOrderTradeRecord(OrderTradeRecord OrderTradeRecordInfo)
 {
     return(await _repository.UpdateAsync(OrderTradeRecordInfo));
 }
Exemple #2
0
        public async Task <OrderTradeRecord> CreateOrderTradeRecord(OrderTradeRecord OrderTradeRecordInfo)
        {
            OrderTradeRecordInfo.Id = await _repository.InsertAndGetIdAsync(OrderTradeRecordInfo);

            return(OrderTradeRecordInfo);
        }