Exemplo n.º 1
0
        async public Task <IActionResult> GetUuuid()
        {
            await _getCallCounterService.UpdateCounter(HttpContext);

            return(await Task.FromResult(Ok(
                                             new Response <IUuid>(
                                                 new Uuid {
                guid = Guid.NewGuid()
            }))));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> GetTelephonAsync()
        {
            await _getCallCounterService.UpdateCounter(HttpContext);

            return(Ok(new Response <ITelephon>(_broTelephonService.Get())));
        }
Exemplo n.º 3
0
        public async Task <IActionResult> GetPasswdAsync()
        {
            await _getCallCounterService.UpdateCounter(HttpContext);

            return(Ok(new Response <IPassword>(_genPasswdService.Get(16, new int[] { 1, 1, 1, 1 }))));
        }