Example #1
0
 public static Document Map(AcademicBenchmarkConnector.Models.Document model)
 {
     return(new Document
     {
         Id = model.Id,
         Title = model.Title,
         Code = model.Code
     });
 }
Example #2
0
 public static Document Create(AcademicBenchmarkConnector.Models.Document doc)
 {
     return(new Document
     {
         Id = doc.Id,
         Description = doc.Title,
         Code = doc.Code
     });
 }