public void SendSalesInfo(ICollection <SaleModel> sales) { ICollection <SaleDTO> salesInfo = sales.Select(MapSale).ToList(); db.AddSales(salesInfo); }