public HttpResponseMessage ValidateIFSC(IFSCModel model) { if (!_processController.ValidateRequest(model as RequestBase)) { return(Request.CreateErrorResponse(HttpStatusCode.Unauthorized, new UnauthorizedAccessException("Unauthorized access. Please try to log in again."))); } var response = _processController.ValidateIFSC(model); return(Request.CreateResponse(HttpStatusCode.OK, response)); }
internal IFSCModel ValidateIFSC(IFSCModel model) { return(_dbHelper.ValidateIFSC(model)); }