Ejemplo n.º 1
0
        public async Task <IList <ComponentInfo> > GetGenericComponent(int componentId, int siteId)
        {
            GenericComponentController controllerObj = new GenericComponentController();

            return(await controllerObj.GetGenericComponent(componentId, siteId));
        }
Ejemplo n.º 2
0
 public async Task DeleteGenericComponent(int componentId, int siteId)
 {
     GenericComponentController controllerObj = new GenericComponentController();
     await controllerObj.DeleteGeneriComponent(componentId, siteId);
 }
Ejemplo n.º 3
0
        public async Task <int> AddUpdateGenericComponent([FromBody] ComponentDetails comp)
        {
            GenericComponentController controllerObj = new GenericComponentController();

            return(await controllerObj.AddUpdateGeneticComp(comp));
        }