public string ExportModule(Module module)
        {
            string     content = "";
            List <Sms> Smss    = _Smss.GetSmss(module.ModuleId).ToList();

            if (Smss != null)
            {
                content = JsonSerializer.Serialize(Smss);
            }
            return(content);
        }
Beispiel #2
0
 public IEnumerable <Sms> Get(string moduleid)
 {
     return(_Smss.GetSmss(int.Parse(moduleid)));
 }