Esempio n. 1
0
        public virtual List <InsteadDeportationsBLL> GetInsteadDeportations()
        {
            List <InsteadDeportationsBLL> InsteadDeportationsBLL = new List <InsteadDeportationsBLL>();
            List <InsteadDeportations>    InsteadDeportations    = new InsteadDeportationsDAL().GetInsteadDeportations();

            foreach (var item in InsteadDeportations)
            {
                InsteadDeportationsBLL.Add(MapInsteadDeportation(item));
            }
            return(InsteadDeportationsBLL);
        }
Esempio n. 2
0
        public InsteadDeportationsBLL GetByInsteadDeportationID(int id)
        {
            InsteadDeportationsBLL InsteadDeportationsBLL = null;
            InsteadDeportations    InsteadDeportation     = new InsteadDeportationsDAL().GetInsteadDeportationByInsteadDeportationID(id);

            if (InsteadDeportation != null)
            {
                InsteadDeportationsBLL = MapInsteadDeportation(InsteadDeportation);
            }
            return(InsteadDeportationsBLL);
        }
Esempio n. 3
0
        public virtual List <InsteadDeportationsBLL> GetInsteadDeportations(out int totalRecordsOut, out int recFilterOut)
        {
            List <InsteadDeportationsBLL> InsteadDeportationsBLL = new List <InsteadDeportationsBLL>();
            List <InsteadDeportations>    InsteadDeportations    = new InsteadDeportationsDAL()
            {
                search   = Search,
                order    = Order,
                orderDir = OrderDir,
                startRec = StartRec,
                pageSize = PageSize
            }.GetInsteadDeportations(out totalRecordsOut, out recFilterOut);

            foreach (var item in InsteadDeportations)
            {
                InsteadDeportationsBLL.Add(MapInsteadDeportation(item));
            }
            return(InsteadDeportationsBLL);
        }