Пример #1
0
        public static DataTable PesquisarEstabelecimento(string pesquisar)
        {
            Model.ModelEstabelecimento Obj = new Model.ModelEstabelecimento();

            Obj.Pesquisar = pesquisar;
            return(Obj.PesquisarEstabelecimento(Obj));
        }
Пример #2
0
        public static string Excluir(int idestabelecimento)
        {
            Model.ModelEstabelecimento Obj = new Model.ModelEstabelecimento();

            Obj.IDEstabelecimento = idestabelecimento;
            return(Obj.Excluir(Obj));
        }
Пример #3
0
        public static string Inserir(string estabelecimento)
        {
            Model.ModelEstabelecimento Obj = new Model.ModelEstabelecimento();

            Obj.Estabelecimento = estabelecimento;
            return(Obj.Inserir(Obj));
        }
Пример #4
0
        public static string Editar(int idestabelecimento, string estabelecimento)
        {
            Model.ModelEstabelecimento Obj = new Model.ModelEstabelecimento();

            Obj.IDEstabelecimento = idestabelecimento;
            Obj.Estabelecimento   = estabelecimento;
            return(Obj.Editar(Obj));
        }