public static ViewModels.PersonExperiense GetDto(Models.ViewPersonExperiense entity) { var result = new ViewModels.PersonExperiense(); FillDto(entity, result); return(result); }
public static void Fill(Models.PersonExperiense entity, ViewModels.PersonExperiense personexperiense) { entity.Id = personexperiense.Id; entity.PersonId = personexperiense.PersonId; entity.OrganizationId = personexperiense.OrganizationId; entity.Employer = personexperiense.Employer; entity.AircraftTypeId = personexperiense.AircraftTypeId; entity.Remark = personexperiense.Remark; entity.JobTitle = personexperiense.JobTitle; entity.DateStart = personexperiense.DateStart; entity.DateEnd = personexperiense.DateEnd; entity.Organization = personexperiense.Organization; }
public static void FillDto(Models.ViewPersonExperiense entity, ViewModels.PersonExperiense viewpersonexperiense) { viewpersonexperiense.PersonId = entity.PersonId; viewpersonexperiense.OrganizationId = entity.OrganizationId; viewpersonexperiense.Employer = entity.Employer; viewpersonexperiense.AircraftTypeId = entity.AircraftTypeId; viewpersonexperiense.Remark = entity.Remark; viewpersonexperiense.DateStart = entity.DateStart; viewpersonexperiense.DateEnd = entity.DateEnd; viewpersonexperiense.Organization = entity.Organization; viewpersonexperiense.JobTitle = entity.JobTitle; viewpersonexperiense.AircraftType = entity.AircraftType; viewpersonexperiense.Id = entity.Id; }