public ActionResult <List <ProcessSchema> > Get()
 {
     return(_repo.GetAll().Select(x => new ProcessSchema(x.Contents)).ToList <ProcessSchema>());
 }
Exemple #2
0
 public ActionResult <List <ProcessSchema> > Get()
 {
     return(_repo.GetAll()
            .Select(x => JsonConvert.DeserializeObject <ProcessSchema>(x.Contents))
            .ToList());
 }