Пример #1
0
        public async Task <ActionResult <CompanyDataset> > GetInfo()
        {
            int            id     = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier));
            CompanyDataset result = await _employerService.GetInfo(id);

            if (result != null)
            {
                return(Ok(result));
            }
            return(NotFound());
        }