public Application ToDalEntity(Application application) { application.Id = this.Id; application.Name = this.Name; application.Description = this.Description; application.TeamId = this.TeamId; return application; }
public ApplicationViewModel(Application application) { this.Id = application.Id; this.Name = application.Name; this.Description = application.Description; this.TeamName = application.Team != null ? application.Team.Name : string.Empty; this.TeamId = application.TeamId; }
public ApplicationManageViewModel(Application application) : base(application) { }