Beispiel #1
0
 public JobOfferMinRes(JobOffer jobOffer)
 {
     JobOfferId = jobOffer.JobOfferId;
     Title      = jobOffer.Title;
     Wage       = jobOffer.Wage;
     Group      = new GroupRes(jobOffer.Group);
     Address    = new AddressRes(jobOffer.Address);
     Start      = jobOffer.Start;
     End        = jobOffer.End;
 }
Beispiel #2
0
 public JobOfferRes(JobOffer jobOffer, int?freeSpaces = null)
 {
     JobOfferId  = jobOffer.JobOfferId;
     Title       = jobOffer.Title;
     Description = jobOffer.Description;
     Wage        = jobOffer.Wage;
     Spaces      = jobOffer.Spaces;
     FreeSpaces  = freeSpaces;
     Start       = jobOffer.Start;
     End         = jobOffer.End;
     Group       = new GroupRes(jobOffer.Group);
     Address     = new AddressRes(jobOffer.Address);
 }
Beispiel #3
0
 public JobOfferWithJasRes(JobOffer jobOffer, ICollection <JobApplication> jobApplications, int freeSpaces)
 {
     JobOfferId      = jobOffer.JobOfferId;
     Title           = jobOffer.Title;
     Description     = jobOffer.Description;
     Wage            = jobOffer.Wage;
     Spaces          = jobOffer.Spaces;
     FreeSpaces      = freeSpaces;
     Start           = jobOffer.Start;
     End             = jobOffer.End;
     JobApplications = MapJobApplications(jobApplications);
     Address         = new AddressRes(jobOffer.Address);
     Group           = new GroupRes(jobOffer.Group);
 }
Beispiel #4
0
 public CustomerWithGrRes(Customer customer)
 {
     CustomerId = customer.CustomerId;
     Email      = customer.User.Email;
     Group      = new GroupRes(customer.Group);
 }