Ejemplo n.º 1
0
        public List <ExceptionModel> FetchExceptionsForAdmin()
        {
            List <ExceptionModel>  ModelList  = new List <ExceptionModel>();
            List <ExceptionEntity> EntityList = new List <ExceptionEntity>();

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

            EntityList = obj.FetchExceptionDetailsForAdmin();
            ModelList  = ObjMapper.MapExceptionEntityToModel(EntityList);
            return(ModelList);
        }