Beispiel #1
0
        public DO.Objects.LineaFactura GetOneById(string id)
        {
            var detailsQuery = new dal.LineaFactura().GetOneById(id);
            var res          = Mapper.Map <data.LineaFactura, DO.Objects.LineaFactura>(detailsQuery);

            return(res);
        }
Beispiel #2
0
        public IEnumerable <DO.Objects.LineaFactura> GetAll()
        {
            var detailsQuery = new dal.LineaFactura().GetAll();
            var res          = Mapper.Map <IEnumerable <data.LineaFactura>, IEnumerable <DO.Objects.LineaFactura> >(detailsQuery);

            return(res);
        }