예제 #1
0
        public async Task <ActionResult> getFarmersProfile()
        {
            var results = await _coreLogic.getAllFarmersData();

            return(Json(results));
        }
예제 #2
0
        public async Task <ActionResult> Get()
        {
            var results = await _corelogic.getAllFarmersData();

            return(new JsonResult(results));
        }