public void SaveUpdatedPouzivatel(Pouzivatel pouzivatel)
        {
            var service = new Team024PouzivatelPortTypeClient();

            service.update("024", "FYmoj1", pouzivatel.id, pouzivatel);

            service.Close();
        }
        public Pouzivatel GetPouzivatelById(int id)
        {
            var service = new Team024PouzivatelPortTypeClient();

            var result = service.getById(id);

            service.Close();

            return(result);
        }
        public List <Pouzivatels> GetPouzivatels(string email)
        {
            var service = new Team024PouzivatelPortTypeClient();

            var result = service.getByAttributeValue("email", email, new int?[] { });

            service.Close();

            return(result.ToList());
        }