public static IList <DocumentSeoViewModels> MapFromBOs(IList <Documentation_BO> bos) { IList <DocumentSeoViewModels> apiObjs = new List <DocumentSeoViewModels>(); foreach (var bo in bos) { DocumentSeoViewModels apiObj = new DocumentSeoViewModels(); apiObj.MapFromBO(bo); apiObjs.Add(apiObj); } return(apiObjs); }
public DocumentViewModels() { DocumentSeoViewModels documentSeo = new DocumentSeoViewModels(); DocumentSeoViewModels = documentSeo; }