Пример #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));
        }