public BaseOutput DeleteUserPhoneInformation(Int64 id) { CRUDOperation cRUDOperation = new CRUDOperation(); BaseOutput baseOutput; try { tbl_UserPhoneInforamtion _UserPhoneInforamtion = cRUDOperation.DeleteUserPhoneInformation(id, 0); if (_UserPhoneInforamtion != null) { return(baseOutput = new BaseOutput(true, BOResultTypes.Success.GetHashCode(), BOBaseOutputResponse.SuccessResponse, "")); } else { return(baseOutput = new BaseOutput(true, CustomError.NotExistRecordErrorCode, CustomError.NotExistRecordErrorDesc, "")); } } catch (Exception ex) { return(baseOutput = new BaseOutput(false, BOResultTypes.Danger.GetHashCode(), BOBaseOutputResponse.DangerResponse, ex.Message)); } }