Ejemplo n.º 1
0
        public override async Task <ActionReplay> AddPermission(IAsyncStreamReader <PermissionRequest> requestStream, ServerCallContext context)
        {
            var response = await _permissionsService.AddPermissions(await GetPermissions(requestStream));

            return(response.ToActionReplay());
        }