示例#1
0
        public string AddClient(Client client)
        {
            if (!client.IsValid())
            {
                return("Invalid data !");
            }

            _clienteRepository.AddClient(client);

            _emailService.Send("*****@*****.**", client.Email, "Welcome !", "You are registered");
            return("Cliente registered with success !");
        }