Example #1
0
        public void SendSalesInfo(ICollection <SaleModel> sales)
        {
            ICollection <SaleDTO> salesInfo = sales.Select(MapSale).ToList();

            db.AddSales(salesInfo);
        }