public async Task <ActionResult> getFarmersProfile() { var results = await _coreLogic.getAllFarmersData(); return(Json(results)); }
public async Task <ActionResult> Get() { var results = await _corelogic.getAllFarmersData(); return(new JsonResult(results)); }