Ejemplo n.º 1
0
        public List <UserDetailsModel> FetchUnverifiedUsers(Int32 PAGENUMBER, out int TotalPageNumber)
        {
            List <UserDetailsModel>  ModelList  = new List <UserDetailsModel>();
            List <UserDetailsEntity> EntityList = new List <UserDetailsEntity>();

            ServiceLayer.InformationService obj       = new InformationService();
            InformationObjectMapper         ObjMapper = new InformationObjectMapper();

            EntityList = obj.FetchUnverifiedUsers(PAGENUMBER, out TotalPageNumber);
            ModelList  = ObjMapper.MapUserDetailsModelListToEntityList(EntityList);
            return(ModelList);
        }
Ejemplo n.º 2
0
        public List <UserDetailsModel> FetchUserDetailsForAdminPage(Int32 PAGENUMBER, out int TotalPageNumber)
        {
            List <UserDetailsModel>  listObj       = new List <UserDetailsModel>();
            List <UserDetailsEntity> EntityListObj = new List <UserDetailsEntity>();

            ServiceLayer.InformationService obj       = new InformationService();
            InformationObjectMapper         objmapper = new InformationObjectMapper();

            EntityListObj = obj.FetchUserDetailsForAdminPage(PAGENUMBER, out TotalPageNumber);
            listObj       = objmapper.MapUserDetailsModelListToEntityList(EntityListObj);
            return(listObj);
        }