public Tim(string ime, System.Collections.Generic.Dictionary <System.Guid, VEOS_WFA.model.entity.Sportista> sportiste, VEOS_WFA.model.entity.Sport sport, string kommentar) { this.kommentar = kommentar; this.sport = sport; if (this.sportiste == null) { this.brSportista = 0; } else { this.brSportista = this.sportiste.Count; } this.sportiste = sportiste; this.ime = ime; this.sifra = Guid.NewGuid(); this.slobodan = true; }
public Sportista(string jmbg, string ime, string prezime, string godinaUpisa, Klasa klasa, VEOS_WFA.model.entity.Sport sport, Image image) { this.sport = sport; this.klasa = klasa; this.godinaUpisa = godinaUpisa; this.prezime = prezime; this.ime = ime; this.jmbg = jmbg; this.sifra = Guid.NewGuid(); this.image = image; }