public bool StdDeleteCommonStaging(int processId) { bool result = false; StandardProfileUploadDao StandardProfileUploadsDao = new StandardProfileUploadDao(); try { StandardProfileUploadsDao.StdDeleteCommonStaging(processId); result = true; } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "StandardProfileUploadBo.cs:StdDeleteCommonStaging()"); object[] objects = new object[0]; objects[0] = processId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(result); }
public List <StandardProfileUploadVo> GetProfileNewCustomers(int processId) { List <StandardProfileUploadVo> UploadsCustomerList = new List <StandardProfileUploadVo>(); StandardProfileUploadDao StandardProfileUploadDao = new StandardProfileUploadDao(); try { UploadsCustomerList = StandardProfileUploadDao.GetProfileNewCustomers(processId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "StandardProfileUploadBo.cs:GetProfileNewCustomers()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(UploadsCustomerList); }