Exemple #1
0
 internal virtual List <EndOfServicesBLL> GetEndOfServicesNotProcessed()
 {
     try
     {
         List <EndOfServicesBLL> BLLList = new List <EndOfServicesBLL>();
         List <EndOfServices>    EOSs    = new EndOfServicesDAL().GetEndOfServicesNotProccessed();
         EOSs.ForEach(x => BLLList.Add(MapEndOfService(x)));
         return(BLLList);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        public List <EndOfServicesBLL> GetEndOfServices()
        {
            List <EndOfServices>    EndOfServicesList    = new EndOfServicesDAL().GetEndOfServices();
            List <EndOfServicesBLL> EndOfServicesBLLList = new List <EndOfServicesBLL>();

            if (EndOfServicesList.Count > 0)
            {
                foreach (var item in EndOfServicesList)
                {
                    EndOfServicesBLLList.Add(MapEndOfService(item));
                }
            }

            return(EndOfServicesBLLList);
        }
Exemple #3
0
        public List <EndOfServicesBLL> GetEndOfServices(out int totalRecordsOut, out int recFilterOut)
        {
            List <EndOfServices> EndOfServicesList = new EndOfServicesDAL()
            {
                search   = Search,
                order    = Order,
                orderDir = OrderDir,
                startRec = StartRec,
                pageSize = PageSize
            }.GetEndOfServices(out totalRecordsOut, out recFilterOut);
            List <EndOfServicesBLL> EndOfServicesBLLList = new List <EndOfServicesBLL>();

            if (EndOfServicesList.Count > 0)
            {
                foreach (var item in EndOfServicesList)
                {
                    EndOfServicesBLLList.Add(MapEndOfService(item));
                }
            }

            return(EndOfServicesBLLList);
        }