示例#1
0
 public static Resume ToEntity(this ResumeContract resumeContract)
 {
     return(new Resume
     {
         Id = resumeContract.Id,
         Section = resumeContract.Section,
         TimeStamps = resumeContract.TimeStamps.ToList().ToEntities()
     });
 }
 public void Post(ResumeContract resumeContract)
 {
     _uow.ResumeRepository.CreateOrUpdate(resumeContract.ToEntity());
 }