Esempio n. 1
0
        public string ExportModule(Module module)
        {
            string content = "";
            List <Models.PageSubscriberDashboard> PageSubscriberDashboards = _PageSubscriberDashboardRepository.GetPageSubscriberDashboards(module.ModuleId).ToList();

            if (PageSubscriberDashboards != null)
            {
                content = JsonSerializer.Serialize(PageSubscriberDashboards);
            }
            return(content);
        }
 public IEnumerable <Models.PageSubscriberDashboard> Get(string moduleid)
 {
     return(_PageSubscriberDashboardRepository.GetPageSubscriberDashboards(int.Parse(moduleid)));
 }