예제 #1
0
        public async Task <GeneralResponse> Send([FromBody] OTPRequest req)
        {
            switch (req.ReqCode)
            {
            case (int)REQUEST.OTPREQUEST:
                return(await RegistrationProcess.ProcessGenerateOTPRequest(req, sender, dBContext));

                break;

            default:
                return(new GeneralResponse()
                {
                    RespCode = (int)RESPONSE.INVALIDREQUEST, Version = APIVERSION
                });
            }
            //return new GeneralResponse(){Resp }
        }