public int Delete(T_SYS_FILEUPLOAD obj) { //using (fileUploadBll = new FileUploadManagementBll()) //{ // return fileUploadBll.Del(obj.FILEUPLOADID); //} fileUploadBll = new FileUploadManagementBll(); return(fileUploadBll.Del(obj.FILEUPLOADID)); }
public int Del(string id) { //using (fileUploadBll = new FileUploadManagementBll()) //{ // return fileUploadBll.Del(id); //} fileUploadBll = new FileUploadManagementBll(); return(fileUploadBll.Del(id)); }
public void Del_FileAndID(string fileName, string ID) { using (fileUploadBll = new FileUploadManagementBll()) { string uploadFolder = GetUploadFolder(); if (File.Exists(@HostingEnvironment.ApplicationPhysicalPath + "\\" + uploadFolder + "\\" + fileName)) { File.Delete(@HostingEnvironment.ApplicationPhysicalPath + "\\" + uploadFolder + "\\" + fileName); } fileUploadBll.Del(ID); } }
public int Delete(T_SYS_FILEUPLOAD obj) { //using (fileUploadBll = new FileUploadManagementBll()) //{ // return fileUploadBll.Del(obj.FILEUPLOADID); //} fileUploadBll = new FileUploadManagementBll(); return fileUploadBll.Del(obj.FILEUPLOADID); }
public void Del_FileAndID(string fileName, string ID) { using (fileUploadBll = new FileUploadManagementBll()) { string uploadFolder = GetUploadFolder(); if (File.Exists(@HostingEnvironment.ApplicationPhysicalPath + "\\" + uploadFolder + "\\" + fileName)) File.Delete(@HostingEnvironment.ApplicationPhysicalPath + "\\" + uploadFolder + "\\" + fileName); fileUploadBll.Del(ID); } }
public int Del(string id) { //using (fileUploadBll = new FileUploadManagementBll()) //{ // return fileUploadBll.Del(id); //} fileUploadBll = new FileUploadManagementBll(); return fileUploadBll.Del(id); }