public IHttpActionResult GetPageData(int electionId) { RetrievedPageDataModel result; try { result = _loginServices.GetPreLoginElectionData(electionId); } catch (Exception oEx) { return(InternalServerError(oEx)); } return(Ok(result)); }
public IHttpActionResult GetPageData(int electionId) { RetrievedPageDataModel result; try { result = _loginServices.GetPreLoginElectionData(electionId); } catch (Exception oEx) { return(InternalServerError(oEx)); } return(Ok(result)); }