Пример #1
0
        public long SaveSalesOrder(OrderDto dto)
        {
            this.salesOrder = dto.DtoToEntitySalesOrder();
            if (_salesOrder.Insert(this.salesOrder).IsNull())
            {
                return(0);
            }

            return(this.salesOrder.SalesOrderID);
        }