Пример #1
0
        public async Task <IActionResult> GetRegistrationID_investor()
        {
            try
            {
                var identity = (ClaimsIdentity)User.Identity;
                var Token    = Token_Handling.Get_Token_FromHeader(Request.Headers, identity);
                var result   = await _registrationService.GetRegistrationInvestorData(Token);

                return(Ok(Reformatter.Response_InvestorObject("Profile Details retrieved Successfully", ref result)));
            }
            catch (Exception ex)
            {
                return((new HandleCatches()).ManageExceptions(ex));
            }
        }