예제 #1
0
        public int Delete(T_SYS_FILEUPLOAD obj)
        {
            //using (fileUploadBll = new FileUploadManagementBll())
            //{
            //    return fileUploadBll.Del(obj.FILEUPLOADID);
            //}
            fileUploadBll = new FileUploadManagementBll();

            return(fileUploadBll.Del(obj.FILEUPLOADID));
        }
예제 #2
0
        public int Del(string id)
        {
            //using (fileUploadBll = new FileUploadManagementBll())
            //{
            //    return fileUploadBll.Del(id);
            //}
            fileUploadBll = new FileUploadManagementBll();

            return(fileUploadBll.Del(id));
        }
예제 #3
0
 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);
     }
 }
예제 #4
0
 public int Delete(T_SYS_FILEUPLOAD obj)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    return fileUploadBll.Del(obj.FILEUPLOADID);
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         return fileUploadBll.Del(obj.FILEUPLOADID);
     
 }
예제 #5
0
 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);
     }
 }
예제 #6
0
 public int Del(string id)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    return fileUploadBll.Del(id);
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         return fileUploadBll.Del(id);
     
 }