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); }
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); }