Example #1
0
 public static VaccineVm MapGraphicDtoToVaccineVm(GraphicDto graphicDto)
 {
     return(new VaccineVm
     {
         Id = graphicDto.VaccineId,
         Name = graphicDto.VaccineName
     });
 }
Example #2
0
 public static GraphicVm MapGraphicDtoToVm(GraphicDto graphicDto)
 {
     return(new GraphicVm
     {
         BreedName = graphicDto.BreedName,
         Id = graphicDto.Id,
         Term = graphicDto.Term,
         VaccineName = graphicDto.VaccineName
     });
 }
Example #3
0
 public Graphic(GraphicDto dto, IClipboard clipboard)
 {
     Clipboard = clipboard;
     _dto      = dto;
     Points    = new ObservableCollection <ObservablePoint>(dto.Points);
 }