Exemplo n.º 1
0
        public async Task <int> ModifySourceInstance(McSourceInstance sourceInstance)
        {
            var sourceInstanceDto = SourceInstanceMapper.GetDtoSourceInstanceFromMcSourceInstance(sourceInstance);
            int id = await HubProxy.Invoke <int>("ModifySourceInstance", sourceInstanceDto);

            return(id);
        }
Exemplo n.º 2
0
        public async Task <int> AddSourceInstance(McSourceInstance sourceInstance)
        {
            int id = await HubProxy.Invoke <int>("AddSourceInstance", SourceInstanceMapper.GetDtoSourceInstanceFromMcSourceInstance(sourceInstance));

            return(id);
        }