protected void Page_Load(object sender, EventArgs e) { Label1.Text = _skilService.GetList().Count().ToString(); Label2.Text = _contactService.GetList().Count().ToString(); Label3.Text = _skilService.GetList().Average(x => x.Derece).ToString(); Label4.Text = _skilService.GetList().Max(x => x.Derece).ToString(); }
protected void Page_Load(object sender, EventArgs e) { Repeater1.DataSource = _aboutService.GetList(); Repeater1.DataBind(); Repeater2.DataSource = _aboutService.GetList(); Repeater2.DataBind(); Repeater3.DataSource = _aboutService.GetList(); Repeater3.DataBind(); Repeater4.DataSource = _skilService.GetList(); Repeater4.DataBind(); }