Пример #1
0
 //BhSpinOffLink
 public BhSpinOffLinkViewModel MapToViewModel(BhSpinOffLinkDto model)
 {
     return new BhSpinOffLinkViewModel
     {
         Id = model.Id,
         SpinOffId = model.SpinOffId,
         Url = model.Url
     };
 }
Пример #2
0
 private BhSpinOffLink MapDtoToModel(BhSpinOffLinkDto dto, BhSpinOffLink model)
 {
     model.Url = dto.Url;
     return model;
 }