示例#1
0
        public async Task <OperationDetails> CreateOrderAsync(Order order)
        {
            await _db.AddAsync(order);

            return(await Save());
        }
示例#2
0
        public async Task <OperationDetails> CreateCabelAsync(Cable cabel)
        {
            await _db.AddAsync(cabel);

            return(await Save());
        }