示例#1
0
        public IActionResult Get()
        {
            MemberDA da  = new MemberDA();
            var      doc = da.GetDocList();

            return(Ok(doc));
        }
示例#2
0
        public async Task <IActionResult> Get(string id)
        {
            MemberDA da  = new MemberDA();
            var      doc = await da.GetDoc(id);

            return(Ok(doc));
        }