public Person GetPersonByNameSurnamePassword(string name, string surname, string password)
        {
            var personByData = database.users.Where((person) => person.Name.Equals(name) && person.Surname.Equals(surname) && person.Password.Equals(password)).First();

            return(DBToLibrary.UserToLibrary(personByData));
        }
        public Person GetPersonByID(int id)
        {
            var personById = database.users.Where((person) => person.Id == id).First();

            return(DBToLibrary.UserToLibrary(personById));
        }