Example #1
0
        public async Task <IList <ComponentInfo> > GetGenericComponent(int componentId, int siteId)
        {
            GenericComponentDataProvider dataProvider = new GenericComponentDataProvider();

            return(await dataProvider.GetGenericComponent(componentId, siteId));
        }
Example #2
0
 public async Task DeleteGeneriComponent(int componentId, int siteId)
 {
     GenericComponentDataProvider dataPro = new GenericComponentDataProvider();
     await dataPro.DeleteComponent(componentId, siteId);
 }
Example #3
0
        public async Task <int> AddUpdateGeneticComp(ComponentDetails album)
        {
            GenericComponentDataProvider dataProvider = new GenericComponentDataProvider();

            return(await dataProvider.AddUpdateGenericComp(album));
        }