internal async Task <int> SaveAssetCollection(AssetCollection assetCollection) { try { List <SQLParam> sqlParam = new List <SQLParam> { new SQLParam("@PageName", assetCollection.PageName), new SQLParam("@RoleName", assetCollection.RoleName), new SQLParam("@Name", assetCollection.Name), new SQLParam("@Csslink", assetCollection.CssLink), new SQLParam("@JSHeaderLink", assetCollection.JSHeaderLink), new SQLParam("@JSFooterLink", assetCollection.JSFooterLink), }; SQLExecuteNonQueryAsync sqlHandler = new SQLExecuteNonQueryAsync(); return(await sqlHandler.ExecuteNonQueryAsync("[usp_Webbuilder_AssestCollection_AddUpdate]", sqlParam)); } catch { throw; } }
public async Task<int> SaveAssetCollection(AssetCollection assetCollection) { BundleDataProvider bundleDataProvider = new BundleDataProvider(); return await bundleDataProvider.SaveAssetCollection(assetCollection); }