public UniversityReviewModel(int universityId) { this.UniversityId = universityId; UniversityName = SqlDriver.FetchDataset($"SELECT name FROM universities WHERE universityId ={universityId}").Tables[0].Rows[0]["name"].ToString(); }
public UniversityReviewModel(int universityId) { this.UniversityId = universityId; UniversityName = SqlDriver.FetchDataset($"SELECT name FROM universities WHERE universityId ={universityId}").Tables[0].Rows[0]["name"].ToString(); }