Ejemplo n.º 1
0
        public IActionResult GetById(string key)
        {
            passport = CommonMethod.GetPassport(Request);
            ResultModel result = new ResultModel(true, service.GetList(passport, key));

            return(new ObjectResult(result));
        }
Ejemplo n.º 2
0
 public async Task <IHttpActionResult> Get()
 {
     var result = await _express.GetList(); return(Ok(result));
 }