Beispiel #1
0
        public string ExportModule(Module module)
        {
            string content = "";
            List <Models.ExternalLogin> ExternalLogins = _ExternalLoginRepository.GetExternalLogins(module.ModuleId).ToList();

            if (ExternalLogins != null)
            {
                content = JsonSerializer.Serialize(ExternalLogins);
            }
            return(content);
        }
 public IEnumerable <Models.ExternalLogin> Get(string moduleid)
 {
     return(_ExternalLoginRepository.GetExternalLogins(int.Parse(moduleid)));
 }