public string ExportModule(Module module)
        {
            string content = "";
            List <Models.PageSubscriber> PageSubscribers = _PageSubscriberRepository.GetPageSubscribers(module.ModuleId).ToList();

            if (PageSubscribers != null)
            {
                content = JsonSerializer.Serialize(PageSubscribers);
            }
            return(content);
        }
 public IEnumerable <Models.PageSubscriber> Get(string moduleid)
 {
     return(_PageSubscriberRepository.GetPageSubscribers(int.Parse(moduleid)));
 }