public static Job_Infra JobFromDomainToInfra(this Job_Domain @this)
 {
     if (@this != null)
     {
         return(new Job_Infra()
         {
             Id = @this.Id,
             TitleOfJob = @this.TitleOfJob,
             PriceOfUnitOfJob = @this.PriceOfUnitOfJob,
             KindOfJob_InfraId = @this.KindOfJob_DomainId,
             UnitOfJob_InfraId = @this.UnitOfJob_DomainId
         });
     }
     else
     {
         return(null);
     }
 }
 public void UpdateJob(Job_Domain inst)
 {
     repository.UpdateJob(inst.JobFromDomainToInfra());
 }