예제 #1
0
        public IHttpActionResult eliminarPais(PaisRequest model)
        {
            PaisDataAccess        _paisDataAccess = new PaisDataAccess();
            BaseResponse <string> result          = new BaseResponse <string>();

            result = _paisDataAccess.EliminarPais(model);

            return(Ok(result));
        }
예제 #2
0
        public IHttpActionResult getAllPais(PageResultParam model)
        {
            PaisDataAccess _paisDataAccess     = new PaisDataAccess();
            PageResultSP <PaisResponse> result = new PageResultSP <PaisResponse>();

            result = _paisDataAccess.getAllPais(model);

            return(Ok(result));
        }