Exemplo n.º 1
0
        public async Task <IActionResult> GetInfoFormAccessRight()
        {
            IEnumerable <ProjectAccessRightData> result = await _projectGateway.GetStaticProjectAccessRight();

            if (result == null)
            {
                return(BadRequest("No access right avaible"));
            }

            return(Ok(result));
        }