Ejemplo n.º 1
0
        public List <ContactUsModel> FetchContactForAdmin()
        {
            List <ContactUsModel>  ModelList  = new List <ContactUsModel>();
            List <ContactUsEntity> EntityList = new List <ContactUsEntity>();

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

            EntityList = obj.FetchContactUsDetailsForAdmin();
            ModelList  = ObjMapper.MapContactUsEntityToModel(EntityList);
            return(ModelList);
        }