/// <summary> /// Uploads the file to the document library /// </summary> /// <param name="siteUrl">The site URL.</param> /// <param name="docLibName">Name of the doc lib.</param> /// <param name="pageId">The page id.</param> /// <param name="userName">Name of the user.</param> /// <param name="postedFileName">Name of the posted file.</param> /// <param name="postedFile">The posted file.</param> public void UploadFileToDocumentLibrary(string siteUrl, string docLibName, string pageId, string userName, string postedFileName, byte[] postedFile) { objCommonDAL = new CommonDAL(); objCommonDAL.UploadFileToDocumentLibrary(siteUrl, docLibName, pageId, userName, postedFileName, postedFile); }