示例#1
0
 public void FillModel(WorkExperience model)
 {
     model.WorkName     = WorkName;
     model.PositionName = PositionName;
     model.Begin        = int.Parse(Begin);
     model.End          = int.Parse(End);
 }
示例#2
0
 public WorkExperienceViewModel(WorkExperience workExperience)
 {
     Id           = workExperience.Id;
     Begin        = workExperience.Begin.ToString();
     End          = workExperience.End.ToString();
     WorkName     = workExperience.WorkName;
     PositionName = workExperience.PositionName;
     Skills       = workExperience.Skills.Select(skill => new SkillViewModel("DeleteSkillExperience", skill)).ToList();
 }