Exemplo n.º 1
0
        public List <Classes.Client> GetClients()
        {
            SqlClasses.Clients    clientHelper = new SqlClasses.Clients();
            List <Classes.Client> clients      = clientHelper.GetClients();

            return(clients);
        }
Exemplo n.º 2
0
        public SqlCode DeleteClient(Classes.Client Client)
        {
            SqlClasses.Clients clientHelper = new SqlClasses.Clients();
            SqlCode            code         = clientHelper.DeleteClient(Client);

            return(code);
        }
Exemplo n.º 3
0
 public Classes.Client GetClient(string FirstName, string MiddleName, string LastName)
 {
     SqlClasses.Clients clientHelper = new SqlClasses.Clients();
     Classes.Client     client       = clientHelper.GetClientByName(FirstName, MiddleName, LastName);
     return(client);
 }
Exemplo n.º 4
0
 public Classes.Client GetClient(int ClientID)
 {
     SqlClasses.Clients clientHelper = new SqlClasses.Clients();
     Classes.Client     client       = clientHelper.GetClientByID(ClientID);
     return(client);
 }