public JobRatingViewModel(MerkatoDbContext context, JobRating B) : this(context) { this.Id = B.Id; this.Code = B.Code; this.Name = B.Name; this.Active = B.Active; }
public JobRating GetModel() { JobRating b = new JobRating(); b.Id = this.Id; b.Code = this.Code; b.Name = this.Name; b.Active = this.Active; return(b); }