Пример #1
0
        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));
        }
Пример #2
0
 internal IFSCModel ValidateIFSC(IFSCModel model)
 {
     return(_dbHelper.ValidateIFSC(model));
 }