public IHttpActionResult GetCheckDetails(String checkNumber)
        {
            SearchEngineIWOWService searchEngineService = new SearchEngineIWOWService();

            string returnCheckDetails = searchEngineService.getCheckDetails(checkNumber);

            return(Ok(returnCheckDetails));
        }
        public IHttpActionResult GetByAcctNo(String scanAcctNo)
        {
            SearchEngineIWOWService searchEngineService = new SearchEngineIWOWService();

            string returnCheckDetails = searchEngineService.getByAcctNo(scanAcctNo);

            return(Ok(returnCheckDetails));
        }
        public IHttpActionResult GetUserIDDateDetails(String userIDDate)
        {
            SearchEngineIWOWService searchEngineService = new SearchEngineIWOWService();

            string returnUserIDDateDetails = searchEngineService.getUserIDDateDetails(userIDDate);

            return(Ok(returnUserIDDateDetails));
        }
        public IHttpActionResult ConvertToImage(String instrumentIdAndDate)
        {
            CheckImageModel checkImageModel = new CheckImageModel();

            SearchEngineIWOWService searchEngineService = new SearchEngineIWOWService();

            checkImageModel = searchEngineService.ManageCheckImage(instrumentIdAndDate);
            //byte[] file = GetFile(id);
            //HttpResponseMessage result = Request.CreateResponse(HttpStatusCode.OK);
            string content = Convert.ToBase64String(checkImageModel.fileByte64) + "FILENAME:" + checkImageModel.fileName;

            return(Ok(content));
        }