Exemplo n.º 1
0
        public IHttpActionResult GetPageData(int electionId)
        {
            RetrievedPageDataModel result;

            try
            {
                result = _loginServices.GetPreLoginElectionData(electionId);
            }
            catch (Exception oEx)
            {
                return(InternalServerError(oEx));
            }

            return(Ok(result));
        }