Exemple #1
0
        public async Task <int> ModifySourceInstance(UcSourceInstance sourceInstance)
        {
            var sourceInstanceDto = SourceInstanceMapper.GetDtoSourceInstanceFromUcSourceInstance(sourceInstance);
            int id = await HubProxy.Invoke <int>("ModifySourceInstance", sourceInstanceDto);

            return(id);
        }
Exemple #2
0
        public async Task <int> AddSourceInstance(UcSourceInstance sourceInstance)
        {
            int id = await HubProxy.Invoke <int>("AddSourceInstance", SourceInstanceMapper.GetDtoSourceInstanceFromUcSourceInstance(sourceInstance));

            return(id);
        }