Exemplo n.º 1
0
        public IHttpActionResult GetName(String name)
        {
            IList <All_Clients> clients = null;

            ClientsB clientB = new ClientsB();

            clients = clientB.GetByName(name);

            if (clients == null)
            {
                return(Ok(false));
            }

            return(Ok(clients));
        }