public ClientInfo Get(string lastName, string firstName, string email, string phone, string id)
        {
            ClientInfo newClientInfo = new ClientInfo(lastName, firstName, email, phone, id);
            ClientJsn  infoClient    = new ClientJsn {
                Nom = lastName, Prenom = firstName, Email = email, Telphone = phone, Id = id
            };

            DocDbAzure.InsertDocument(infoClient);

            return(newClientInfo);
        }
예제 #2
0
        public void TestInitialize()
        {
            _temoignagejsn = new TemoingnageJsn {
                ClientId = "12345", Description = "NomClient", UrlImage = "url", UrlVideo = "url", RatioImportance = 1
            };

            _clientJsn = new ClientJsn
            {
                Id       = "14",
                Nom      = "NomCLient",
                Prenom   = "prenomClient",
                Email    = "*****@*****.**",
                Telphone = "4505553232"
            };
        }