public APIResult AreaSearch(string areaId, string areaName, string areaNameEn) { try { List <Area> areaList = masterService.AreaSearch(areaId, areaName, areaNameEn); return(new APIResult() { Status = true, Body = CommonHelper.Encode(areaList) }); } catch (Exception ex) { return(new APIResult() { Status = false, Body = ex.Message.ToString() }); } }