public static PoliceList CreatePoliceList(int personID, string surnume, string name, string secondName, string dateOfBirth, string crimeAction) { PoliceList policeList = new PoliceList(); policeList.PersonID = personID; policeList.Surnume = surnume; policeList.Name = name; policeList.SecondName = secondName; policeList.DateOfBirth = dateOfBirth; policeList.CrimeAction = crimeAction; return policeList; }
public void AddToPoliceList(PoliceList policeList) { base.AddObject("PoliceList", policeList); }
/// <summary> /// Polices /// </summary> /// <param name="position"></param> /// <returns></returns> public PoliceList Polices(int offset, int position) { return(PoliceList.GetPolice(offset, position, Lettre)); }